w3c / html-aria

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

Update button and input button allowances #446

Closed scottaohara closed 1 year ago

scottaohara commented 1 year ago

closes #444 closes #395 closes #298

These PR supersedes #405

This PR makes the allowances for button-elements (button, input type=button|image|submit|reset) more consistent with each other. Additionally, slider and gridcell are now listed under the allowed roles for these elements.

the LOE to properly create the necessary UX for some of these roles when specified, especially on the input type buttons, is rather large but possible. Any failures to not implement these properly would be caught by WCAG rules. Allowing the roles won't change that.

(the issues for each of these checkers are referenced later in this thread)

button and input type=button test cases and input type=reset, image, submit test cases


Preview | Diff