diff options
Diffstat (limited to 'src/view/shell/desktop/Search.tsx')
-rw-r--r-- | src/view/shell/desktop/Search.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/view/shell/desktop/Search.tsx b/src/view/shell/desktop/Search.tsx index 5504e9415..a58a68fbf 100644 --- a/src/view/shell/desktop/Search.tsx +++ b/src/view/shell/desktop/Search.tsx @@ -67,10 +67,16 @@ export const DesktopSearch = observer(function DesktopSearch() { onBlur={() => setIsInputFocused(false)} onChangeText={onChangeQuery} onSubmitEditing={onSubmit} + accessibilityRole="search" /> {query ? ( <View style={styles.cancelBtn}> - <TouchableOpacity onPress={onPressCancelSearch}> + <TouchableOpacity + onPress={onPressCancelSearch} + accessibilityRole="button" + accessibilityLabel="Cancel search" + accessibilityHint="Exits inputting search query" + onAccessibilityEscape={onPressCancelSearch}> <Text type="lg" style={[pal.link]}> Cancel </Text> |