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

Clarify allowed attributes for input type=number #409

Open
scottaohara opened this issue Mar 25, 2022 · 1 comment
Open

Clarify allowed attributes for input type=number #409

scottaohara opened this issue Mar 25, 2022 · 1 comment
Labels
Allowed aria-* attributes Clarification needed Revise or expand the information provided

Comments

@scottaohara
Copy link
Member

Per w3c/aria#1716, an input type=number has an implicit role of spinbutton. Indicating an input type=number can use all the allowed aria-* attributes for a spinbutton will likely create inconsistencies / browser corrections for ARIA attributes conflicting with the implicit properties of the input field.

todo: perform tests and indicate which attributes, if any, should not be allowed for authors to specify.

@scottaohara
Copy link
Member Author

This issue likely extends beyond just this particular role/input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Allowed aria-* attributes Clarification needed Revise or expand the information provided
Projects
None yet
Development

No branches or pull requests

1 participant