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

aria-labelledby not respected on any table elements - column headers, row headers, cells #884

Open
Epic-Third-Party-Bug-Reporting opened this issue Jan 21, 2025 · 3 comments

Comments

@Epic-Third-Party-Bug-Reporting
Copy link

Epic-Third-Party-Bug-Reporting commented Jan 21, 2025

Description

JAWS doesn't appear to be calculating the accessible name for table elements, just reading their contents.
May be related to #656.

Version Info

JAWS version: Tested with JAWS 2024.2411.16 and JAWS 2025.2412.50, both had this problem.
Browsers: Reproduced on Chrome 131.0.6778.266 and Firefox 134.0.1.
OS: Windows 11, version 24H2.

Expected result

Column headers, row headers, and cells would prioritize aria-labelledby when calculating the accessible name and read that.

Actual result

Only reads cell contents.

See this test codepen.

@JAWS-test
Copy link

I have tested with the latest Chrome and JAWS 2025. When I use the table navigation (ALT+CTRL+arrow keys), the aria-labelledby is output before the cell content. When reading linearly using only the arrow keys, aria-labelledby is not output.

But I think the main problem here is the ARIA specification, which does not clearly say whether a table row or cell is a container role (like a landmark region, which can be labeled by aria-labelledby and whose content must still be perceptible) or a role for a concrete element (like a button, which can only be explicitly labeled either by aria-labelledby or by text content, but where both are never perceptible).

@JAWS-test
Copy link

See: w3c/aria#683

@JAWS-test
Copy link

NVDA never outputs the aria-labbeledby, not even for table navigation. This seems even better to me because it is consistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants