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

NVDA does not read aria-label value inside tables #13666

Closed
gericci opened this issue May 5, 2022 · 5 comments
Closed

NVDA does not read aria-label value inside tables #13666

gericci opened this issue May 5, 2022 · 5 comments

Comments

@gericci
Copy link

gericci commented May 5, 2022

Steps to reproduce:

Actual behavior:

  • Value of aria-label is not read

Expected behavior:

  • Value of aria-label should be read

System configuration

NVDA installed/portable/running from source:

nvaccess.org

NVDA version:

2021.3.1 (french version)

Windows version:

Windows 10

Name and version of other software in use when reproducing the issue:

Firefox 86.0 (64 bit)

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

YES

Have you tried any other versions of NVDA? If so, please report their behaviors.

NO

If NVDA add-ons are disabled, is your problem still occurring?

No NVDA add-ons

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Yes

@Brian1Gaff

This comment was marked as off-topic.

@seanbudd
Copy link
Member

It is unclear whether or not aria label should be supported in this case:

Note: aria-label is intended for use on interactive elements, or elements made to be interactive via other ARIA declarations, when there is no appropriate text visible in the DOM that could be referenced as a label

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label

https://w3c.github.io/aria/#aria-label

Should aria label be supported on all elements? Is an explicit specification needed to determine which elements to support?

@fstrr
Copy link

fstrr commented Aug 16, 2022

ARIA 1.2 doesn't list aria-label as a supported property on role="cell" or role="gridcell" components, which are the equivalent of the HTML td element. Additionally, the strong role, which is the equivalent of the HTML strong element, is prohibited from having an aria-label element. This is true all "generic" elements (including span). For more see, Roles Which Cannot Be Named.

@seanbudd
Copy link
Member

Thanks @fstrr, closing this as invalid

@seanbudd seanbudd closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2022
@panihans
Copy link

ARIA 1.2 doesn't list aria-label as a supported property on role="cell" or role="gridcell" components, which are the equivalent of the HTML td element. Additionally, the strong role, which is the equivalent of the HTML strong element, is prohibited from having an aria-label element. This is true all "generic" elements (including span). For more see, Roles Which Cannot Be Named.

While it's true it's not listed as a supported property for role="cell" it is however under inherited properties which are described as being part of the full set of supported properties. In fact cell and gridcell and many other elements are listed under section 5.2.8.4 Roles Supporting Name from Author, which explicitly states that those elements support aria-label. Furthermore I tested voiceover and narrator, which both read aria-label on e.g role=cell.

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

5 participants