Can't focus on likely buttons with keyboard
Closed this issue · 4 comments
paulradzkov commented
Accessibility issue.
Can't navigate likely buttons with Tab
or Shift + Tab
shortcuts.
Can't interact with buttons using Voice Over.
Consider adding tabindex
or converting buttons into links for graceful degradation and better accessibility.
paulradzkov commented
Minimum required modifications:
- add
tabindex="0"
- add
role="link"
orrole="button"
. I think «link» fits better. - optional, add
aria-label="Share on Twitter"
See https://www.youtube.com/watch?v=qOe2UA6PHAc for example
paulradzkov commented
Tested the markup referenced in pull request — works fine with Voice Over and keyboard navigation.
But I believe Likely should add those attributes by itself when they are not provided by user.
iamakulov commented
But I believe Likely should add those attributes by itself when they are not provided by user.
Thanks! We’ll probably implement this in a future version.