w3c / html-aria

ARIA in HTML
https://w3c.github.io/html-aria/
Other
181 stars 49 forks source link

Clarify allowed attributes for input type=number #409

Open scottaohara opened 2 years ago

scottaohara commented 2 years ago

Per https://github.com/w3c/aria/issues/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 commented 2 years ago

This issue likely extends beyond just this particular role/input