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

Consider adding element subtree to th accessible name computation #468

Closed
extra808 opened this issue Apr 10, 2023 · 1 comment
Closed

Consider adding element subtree to th accessible name computation #468

extra808 opened this issue Apr 10, 2023 · 1 comment

Comments

@extra808
Copy link

Currently the name computation for tr, td, and th elements are the same. I don't have an opinion about the others but for th elements with the columnheader or rowheader role, shouldn't "Otherwise use th element subtree." be included, before "Otherwise use title attribute."?

https://w3c.github.io/html-aam/#tr-td-th-elements-accessible-name-computation

In practice, when a th columnheader contains text and has a title attribute, Chrome (v112) and Firefox (v111) do use the subtree for the name, according to their DevTools. However Safari's (v16.4.1 for Mac) DevTools show the cell's name as being the title attribute's value. Safari's name seems wrong but it's conforming to these mappings as currently written.

@scottaohara
Copy link
Member

added this comment to related issue #179 so this one can be closed.

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