Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[a11y]: Tabbed content does not have an associated name #9666

Closed
2 tasks done
danielannan17 opened this issue Sep 15, 2021 · 2 comments
Closed
2 tasks done

[a11y]: Tabbed content does not have an associated name #9666

danielannan17 opened this issue Sep 15, 2021 · 2 comments

Comments

@danielannan17
Copy link

Package

carbon-components-react

Browser

Firefox

Operating System

MacOS

Package version

v7.43.0

Automated testing tool and ruleset

IBM Equal Access Accessbility Checker

Assistive technology

No response

Description

Components with the ARIA role are expected to have an associated name

WCAG 2.1 Violation

No response

CodeSandbox example

https://8u88r.csb.app/

Steps to reproduce

  1. Download IBM Equal Access Accessibility Checker firefox extension
  2. Visit https://8u88r.csb.app/
  3. Open chrome dev tools
  4. Navigate to 'Accessibility Assessment' tab
  5. Click 'Scan' - you should now see the violation

Screenshot 2021-09-15 at 08 55 12

Code of Conduct

@abbeyhrt
Copy link
Contributor

Hi @danielannan17 👋 Thanks for making this issue! Tabbed content is aria-labelled by Tab so Tab needs to have an id for it to correctly label the tab content. You can see this in the code sandbox you sent, if you add an id to Tab the accessibility violation goes away. Example with id added

@abbeyhrt
Copy link
Contributor

abbeyhrt commented Oct 4, 2021

Closing since the issue has been addressed.

@abbeyhrt abbeyhrt closed this as completed Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants