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

aria-haspopup depricated from global attributes #4531

Open
1 task done
curtbellew opened this issue Jul 9, 2024 · 1 comment
Open
1 task done

aria-haspopup depricated from global attributes #4531

curtbellew opened this issue Jul 9, 2024 · 1 comment
Labels

Comments

@curtbellew
Copy link

Product

axe-core

Product Version

4.9.1

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Expectation

Does the fact that aria-haspopup has been deprecated from global attributes mean it should be reported as a violation when used in any roles not listed - https://www.w3.org/TR/wai-aria-1.2/#aria-haspopup ?

Actual

When aria-haspopup is used on a DIV no violation is thrown

How to Reproduce

I would think the following code would return a violation but it does not.
<div aria-haspopup="true">class</div>

Additional context

NA

@curtbellew curtbellew added the ungroomed Ticket needs a maintainer to prioritize and label label Jul 9, 2024
@straker
Copy link
Contributor

straker commented Jul 10, 2024

Thanks for the question. We have a few tickets currently open about deprecated ARIA roles and attributes. In general we don't want to disallow attributes or roles where they were previously allowed as that would cause code that was previously working to then report violations. Instead what we want to do is indicate that the role or attribute has been deprecated for its use and move the issue to probably a Needs Review issue.

@straker straker added question and removed ungroomed Ticket needs a maintainer to prioritize and label labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants