Open
Description
currently, there are two quite fundamental keyboard access issues on the demo page at https://reactcommunity.org/react-tabs/
- the
<textarea>
containing the source swallowsTab
presses. once focus is in the textarea, there's no way for a keyboard user to jump back out. worse, even if the related "view source" checkbox is not checked, i.e. the textarea isn't visible, it still receives keyboard focus/is still in the regular tab cycle - when the tab/tablist receives focus, there is no visible focus indication that this is actually the case
Video showing the issue (using Chrome on Windows)
react-tabs-kbd.mp4
0:00 - 0:25 tabbing through the page. note the focus disappears after the "View source" checkbox. ticking the checkbox with the mouse, and carrying on tabbing, shows that tab was in the textarea (and it's stuck in there)
0:25 - 0:32 focus is on the tab/tablist, can use cursor keys to change active tab. but there's no visible indication that focus is indeed on that tab/tablist
Metadata
Metadata
Assignees
Labels
No labels
Activity