Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

[Bug?]: Accessibility issue in Tab.ListItem #2139

Open
2 tasks done
Krishnaveni-PS opened this issue Nov 16, 2022 · 2 comments
Open
2 tasks done

[Bug?]: Accessibility issue in Tab.ListItem #2139

Krishnaveni-PS opened this issue Nov 16, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Krishnaveni-PS
Copy link

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

Within Paths, we use Tab.ListItem to organize the headers horizontally. When we navigate through the tabs using keyboard navigation the items listed under Tab.ListItem are not picked up.

Tab.ListItem is being imported from @pluralsight/ps-design-system-tab.

Expected behavior 🤔

Within Paths, the screen reader needs to pick up the header that lists with Tab.ListItem.

This needs to have visible keyboard focus and get picked up by a screenreader.

Steps to reproduce 🕹

Steps:

  1. Go to paths section in app.pluralsight.com
  2. With in paths, there are lists of Paths types- "Skills, Certification, Conferences, etc.
  3. Try to navigate to each path type using keyboard tab.

Context 🔦

Accessibility issue in Paths horizontabl tab items.

image

Your environment 🌎

No response

@Krishnaveni-PS Krishnaveni-PS added the bug Something isn't working label Nov 16, 2022
@caseybaggz
Copy link
Contributor

Since this component only controls the styles, you might be able to fix it by using the new useTabs hook in the v2 system.

@Rykus0
Copy link
Contributor

Rykus0 commented Jan 10, 2023

@Krishnaveni-PS Tabs should be navigable with arrow keys, which I notice they are. Is the problem you're reporting that you cannot navigate to them using tab? If so, this is not a problem and is by design. Tab should take you into or out of the set of tabs, and then arrows will navigate between tabs while the group has focus.

Please confirm your expectation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants