w3c / html-aria

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

other aria-* attributes which should not be allowed on HTML elements #241

Closed scottaohara closed 3 years ago

scottaohara commented 4 years ago

for starters, aria-checked should not be used on a native input type=checkbox/radio It's both unnecessary, and if out of alignment, the native HTML state will largely win (as it should) over the aria attribute (except in chrome where this rule is not implemented properly).

However, that's even more reason to make an explicit rule for this, so that developers are encouraged not to use the attribute unnecessarily and find themselves in a misalignment situation.

Similarly, should look at should not-ing aria-selected on option

mitchellevan commented 3 years ago

I agree. Similarly, aria-multiselect should not be used on <select multiple>

scottaohara commented 3 years ago

closed by #262