question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Accessibility] Emoji button couldn't be navigated with tab

See original GitHub issue

Hi, due the emoji button has tabindex=-1 it is skipped by the tab navigation and thus screenreaders couldn’t read it, it would be good to have possibility to configure that or maybe add possibility to provide some custom attributes to override:

<button
          aria-label={native}
          aria-selected={selected || undefined}
          aria-posinset={posinset}
          aria-setsize={grid.setsize}
          data-keyboard={this.state.keyboard}
          title={this.props.previewPosition == 'none' ? emoji.name : undefined}
          type="button"
          class="flex flex-center flex-middle"
          tabindex="-1"
          onClick={() => this.handleEmojiClick({ emoji })}
          onMouseEnter={() => this.handleEmojiOver(pos)}
          onMouseLeave={() => this.handleEmojiOver()}
          style={{
            width: this.props.emojiButtonSize,
            height: this.props.emojiButtonSize,
            fontSize: this.props.emojiSize,
            lineHeight: 0,
          }}
         {...this.props.emojiButtonAttrs}
>

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Charcacommented, Aug 10, 2022

This PR doesn’t make emojis navigable via tab, but it does make them accessible to screen readers https://github.com/missive/emoji-mart/pull/666

1reaction
roman-kulakovcommented, Jun 20, 2022

@CSFlorin yes, it could be navigated through arrow keys, but it gives us only a keyboard accessibility but not screenreaders accessibility 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tab key navigation not working - WordPress.org
It seems that there is a problem with accessibility: I cannot access the cookie infobar and accept button with tab key. To my...
Read more >
eslint-plugin-jsx-a11y - npm
Navigate to chrome://accessibility/ in Chrome. Toggle the accessibility off link for any tab that you want to inspect. A link labeled show ...
Read more >
Chromebook Accessibility Features for the Classroom
This Chromebook accessibility guide will give you simple, clear explanations of each accessibility feature for Chrome how to use them in the ...
Read more >
SharePoint Online: How to Add Icons (Emoji) to Navigation ...
Here is how to insert emoji symbols into SharePoint Online Menu. You can insert emoji icons anywhere in SharePoint, like in top navigation...
Read more >
Increase Emoji Size Android
Click on the "Upload image" button and to upload the image (s) for which you want to ... You can also access the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found