[Tabs extended media]: React wrapper – not able to access other tabs with VO instructions
See original GitHub issueDescription
I am not able to select the second, third or fourth tab in Tabs extended or Tabs extended – with media using the keyboard and voice over on Desktop
VO instructs the user to press control
+ option
+ space
to select a tab and it doesn’t work, I see no changes in the selected state (all tabs content are the same).
VO is also reading out the tabs as first tab: “1 of 8”; second tab “3 of 8”, which seems a bit strange? Is that the expected behavior and it’s indicating a tab has two sections, the heading and the content?
This seems to be present in Production
Workaround
I am able to select other tabs by using: control
+ option
+ shift
+ down arrow
, then control
+ option
+ space
, then tab
to navigate into the tab content area.
Component(s) impacted
Tabs extended Tabs extended with media
Browser
Chrome
Carbon for IBM.com version
1.15.0 rc 1
Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Application/website
Carbon for IBM.com
Package
CodeSandbox example
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct
- I agree to follow this project’s Code of Conduct
- I checked the current issues for duplicate issues
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
@kennylam I’m going to move this issue out of our Innovation Team queue as this is related to the WC React Wrapper and one that we’re not prioritizing at the moment.
Popping back into this issue after getting the request to review, and I’m feeling pretty confident that the issue described isn’t really an issue.
When using VO, the
control+option
combo is the the VoiceOver key, and that combo plusspace
is the equivalent of clicking. While nothing happens, this is working as intended. See the W3 keyboard interaction design pattern for tabbed interfaces.The
space
orenter
interactions are the ones that should match clicks, as well as the VO+space combo. Additionally, note the “if it was not activated automatically on focus”, in conjunction with the following notice:Since all of our tab content is already in the DOM on page load, there should be effectively zero latency, so we should automatically activate tabs on focus. This means that
space
,enter
,click
, andVO+Space
should be expected to do nothing.Testing the canary version of this component, there are a few patterns that I’m seeing that should be changed:
left
,right
,up
, anddown
arrow keys at all times. We should probably limit the arrow keys to only work in the orientation the tabs are taking. Again, from the W3 page linked above:CC: @oliviaflory @kennylam @proeung