Tab/tabpanel - aria-orientation
/keyboard interactions and current browser/AT behavior
#2281
Labels
assistive-technology-dependency
Identify PRs and issues that document assistive tech issues that are outside APG scope
question
Issue asking a question
As part of recent work to get tabs to behave correctly in Bootstrap (see twbs/bootstrap#33079), a few observations.
aria-orientation
and keyboard interactionsSupport for
aria-orientation
is still not all that great: JAWS announces it, NVDA and VoiceOver/macOS don't. Not tested TalkBack or VoiceOver/iOS, but suspect they don't announce it either. For this reason, we decided for Bootstrap to double-up the keyboard behavior (contrary to https://www.w3.org/TR/wai-aria-practices-1.2/#keyboard-interaction-21) and use bothLeft Arrow
/Up Arrow
andRight Arrow
/Down Arrow
to move to the previous/next tab respectively. It may be an idea to change the keyboard interaction in the spec to suggest this as well? Otherwise, a screen reader user who lands on a vertical tab is likely to be initially confused if left/right arrow keys suddenly don't work, since they've not been informed that it's a vertical tab list.focusable tab panels and browser/AT weirdness
There's currently some funky behavior in both NVDA and JAWS, using Chrome and Firefox, with having the tab panel itself focusable.
See this video and the recap of what's happening:
tab-pattern.mp4
aria-labelledby
referencing the tab, no idea where the "property page" bit comes from though), followed by the whole contents of the tab panel. Using reading keys to proceed, the second paragraph of content is read/announced.aria-labelledby
). Using reading keys to proceed, the second paragraph of content is read/announced, completely skipping the first paragraph. User has to go backwards to read the first paragraph.Not shown in the video:
aria-labelledby
is not announced. Proceeding with reading keys goes directly to the separator after the tab panel.Overall then, the picture/experience is a bit mixed. Particularly the peculiarities on Windows with NVDA/JAWS (not announcing anything, skipping paragraphs) is concerning. It may be worth documenting/clarifying this (and yes, filing bugs with browser/AT vendors)
The text was updated successfully, but these errors were encountered: