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

[accname] Two necessary steps for using aria-label values in accessible-name computation are missing from the spec #247

Open
sideshowbarker opened this issue Nov 27, 2024 · 1 comment
Assignees

Comments

@sideshowbarker
Copy link
Member

https://w3c.github.io/accname/#comp_labelledby

I have found that:

  1. The “div group explicitly labelledby self and heading” subtest at https://wpt.fyi/results/accname/name/comp_labelledby.html won’t pass unless when performing the “For each IDREF” substep of the “LabelledBy” substep in the accessible-name computation algorithm, I check for any aria-label attribute and use its value if found.
  2. The “button's hidden referenced name (visibility:hidden) with hidden aria-labelledby traversal falls back to aria-label” subtest at https://wpt.fyi/results/accname/name/comp_labelledby.html won’t pass unless when performing the “Return the accumulated text” substep of the “LabelledBy” substep in the accessible-name computation algorithm, I check to determine of the total_accumulated_text value is empty, and if so, then check for any aria-label attribute and use its value if found.

Link to the version of the specification or documentation you were looking at at.

https://w3c.github.io/accname/#comp_labelledby

Does the issue exists in the editors draft (the editors draft is the most recent draft of the specification)? Yes

@jnurthen jnurthen transferred this issue from w3c/aria Dec 5, 2024
@accdc
Copy link
Contributor

accdc commented Dec 19, 2024

Hi,
I could just be tired, but I'm having trouble piecing together the issue.

Can you provide an HTML code example here and walk me through what the issue is?

Thanks,
Bryan

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