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

Request updates to allowed roles for area without href #3266

Closed
Tracked by #360
scottaohara opened this issue Nov 8, 2021 · 4 comments
Closed
Tracked by #360

Request updates to allowed roles for area without href #3266

scottaohara opened this issue Nov 8, 2021 · 4 comments
Labels
fix Bug fixes pr A pr has been created for the issue standards Issues in the ARIA standards objects (lib/standards)
Milestone

Comments

@scottaohara
Copy link
Contributor

ARIA in HTML is looking to update the allowed roles for area without href from no role to instead allow link and button, only.

@WilcoFiers
Copy link
Contributor

WilcoFiers commented Nov 9, 2021

That makes a lot of sense. Any particular reason you wouldn't also allow button on area[href] though @scottaohara?

@scottaohara
Copy link
Contributor Author

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 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.

Related issue: w3c/html-aria#187

@WilcoFiers
Copy link
Contributor

Tanks for clarifying. Sounds good.

@WilcoFiers WilcoFiers added this to the Axe-core 4.4 milestone Nov 9, 2021
@WilcoFiers WilcoFiers added fix Bug fixes standards Issues in the ARIA standards objects (lib/standards) labels Nov 12, 2021
@WilcoFiers WilcoFiers added the pr A pr has been created for the issue label Nov 12, 2021
@padmavemulapati
Copy link

Validated with the develop branch axe-core code base,
aria-allowed-role rule allowing the roles for button and 'link area without href

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fixes pr A pr has been created for the issue standards Issues in the ARIA standards objects (lib/standards)
Projects
None yet
Development

No branches or pull requests

3 participants