You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Request updates to allowed roles for area without href #3266
That idea did come up when discussing this change (both in the ARIA WG when they had done the initial review during CR, and when we were discussing after I looked into what other roles might have made sense here).
Essentially, keeping the status quo boils back down to a version of the links vs buttons debate / user expectations of role announcement. If authors need an area to be a role=button, then they would now have this opportunity by not adding, or by removing, the href.
If need be, we can discuss this further in a new issue in ARIA in HTML.
Activity
WilcoFiers commentedon Nov 9, 2021
That makes a lot of sense. Any particular reason you wouldn't also allow button on
area[href]though @scottaohara?scottaohara commentedon Nov 9, 2021
thanks Wilco.
That idea did come up when discussing this change (both in the ARIA WG when they had done the initial review during CR, and when we were discussing after I looked into what other roles might have made sense here).
Essentially, keeping the status quo boils back down to a version of the links vs buttons debate / user expectations of role announcement. If authors need an
areato be arole=button, then they would now have this opportunity by not adding, or by removing, thehref.If need be, we can discuss this further in a new issue in ARIA in HTML.
Related issue: w3c/html-aria#187
WilcoFiers commentedon Nov 9, 2021
Tanks for clarifying. Sounds good.
padmavemulapati commentedon Nov 16, 2021
Validated with the develop branch axe-core code base,
aria-allowed-rolerule allowing the roles forbuttonand'linkareawithouthref