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]: The 'headers' attribute value "expand" does not reference a valid 'id' in this document #10167

Closed
2 tasks done
betty7zhang opened this issue Nov 24, 2021 · 4 comments · Fixed by #10547
Closed
2 tasks done

Comments

@betty7zhang
Copy link

Package

carbon-components-react

Browser

Chrome

Operating System

MacOS

Package version

v7.48.1

Automated testing tool and ruleset

IBM Equal Access Accessibility Checker - Latest Deployment

Assistive technology

No response

Description

The 'headers' attribute should refer to a valid cell in the same table. The 'headers' attribute specifies one or more header cells related to a table cell in a complex table. It has no visual effect on the table, but it provides a programmatic way for assistive technology such as screen readers to describe visual relationships between header and data cells. When a table has multi-level headers, it can become difficult to convey which header text applies to any one cell using only elements and 'scope' attributes. The 'headers' attribute allows for the concatenation of multiple text into an accurate descriptor for an individual data cell.

WCAG 2.1 Violation

No response

CodeSandbox example

https://cloud.ibm.com/unifiedsupport/supportcenter

Steps to reproduce

  1. Open https://cloud.ibm.com/unifiedsupport/supportcenter
  2. Login with IBM ID & password
  3. Click View all
  4. Check accessibility

image

Code of Conduct

@abbeyhrt
Copy link
Contributor

abbeyhrt commented Dec 6, 2021

Looks like there was a fix contributed for this! Closing since it was resolved in #10214

@tay1orjones
Copy link
Member

Notified in slack, this issue still exists. It's present in storybook here.

@TannerS
Copy link
Contributor

TannerS commented Jan 27, 2022

Let me take a look, the issue was fixed when passing in the proper props but i think a prop was missed in the story book demo

@TannerS
Copy link
Contributor

TannerS commented Jan 27, 2022

@kodiakhq kodiakhq bot closed this as completed in #10547 Feb 2, 2022
Repository owner moved this from 🕵️‍♀️ Triage to ✅ Done in Design System Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants