From 72cb9e8bdbd41b66f72f8dd0dcd52cc04c7a2245 Mon Sep 17 00:00:00 2001 From: tusooa Date: Sat, 21 Jan 2023 01:28:43 -0500 Subject: Make all emoji inputs screen-reader-friendly --- src/components/emoji_input/emoji_input.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components/emoji_input/emoji_input.js') diff --git a/src/components/emoji_input/emoji_input.js b/src/components/emoji_input/emoji_input.js index 020e9fde..3b0db786 100644 --- a/src/components/emoji_input/emoji_input.js +++ b/src/components/emoji_input/emoji_input.js @@ -287,6 +287,7 @@ const EmojiInput = { ...rest, img: imageUrl || '' })) + this.highlighted = -1 this.$refs.screenReaderNotice.announce( this.$tc('tool_tip.autocomplete_available', this.suggestions.length, -- cgit v1.2.3-70-g09d2