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

Output is a labelable element, but accname calculation for output ignores label #435

Closed
dd8 opened this issue Sep 8, 2022 · 1 comment
Closed

Comments

@dd8
Copy link

dd8 commented Sep 8, 2022

Should the accessible name computation for output include the label element?
https://w3c.github.io/html-aam/#output-element-accessible-name-computation

It's categorised as labelable in the the HTML Standard:
https://html.spec.whatwg.org/multipage/forms.html#category-label

Chrome/Edge/Opera/Firefox use the label in their accessible name calculation, and use "My label" as the name. Safari doesn't use label and uses "This is some output" as the name but maps output to AXStaticText which doesn't have a name.

<label for="test">My label</label>
<output id="test">This is some output</output>
@scottaohara
Copy link
Member

duplicate of #225

pull request is just waiting on people to actually review it #402

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