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

Does a textbox within spinbutton need to be labeled? #1451

Open
JAWS-test opened this issue Apr 7, 2021 · 3 comments
Open

Does a textbox within spinbutton need to be labeled? #1451

JAWS-test opened this issue Apr 7, 2021 · 3 comments
Assignees
Labels
Milestone

Comments

@JAWS-test
Copy link
Contributor

https://rawgit.com/w3c/aria/master/#spinbutton:

Authors MAY create a spinbutton with children or owned elements, but MUST limit those elements to a textbox and/or two buttons.

With this variant, it is unclear whether the spinbutton or the textbox or both must be labeled.

Textbox and spinbutton have: "Accessible Name Required: True". However, the question is whether the label really needs to be specified twice

@jnurthen jnurthen added this to the ARIA 1.4 milestone Apr 8, 2021
@scottaohara
Copy link
Member

Having performed some initial testing with this variant on macOS/iOS, results of it being exposed correctly are rather poor. Obviously need to do more tests on other platforms, but I wonder why this version is necessary if having a textfield/spinbutton and adjacent buttons has far more robust support anyway, and the effort to style it similarly to a nested option would be negligible?

Interested to hear use cases where this variant pattern would be necessary, rather than the alternative to have the text field and buttons be siblings?

@JAWS-test
Copy link
Contributor Author

@scottaohara Maybe you can share your test example, then I will test with other screenreaders

@pkra
Copy link
Member

pkra commented Mar 7, 2022

Just a note: since the line was last changed 4 years ago, it might see some changes related to #1213 and other 1.3 work.

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

No branches or pull requests

4 participants