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

Proposal: Introducing aria-haspopover as an alias for aria-haspopup #2125

Closed
MrHBS opened this issue Feb 19, 2024 · 2 comments
Closed

Proposal: Introducing aria-haspopover as an alias for aria-haspopup #2125

MrHBS opened this issue Feb 19, 2024 · 2 comments

Comments

@MrHBS
Copy link

MrHBS commented Feb 19, 2024

There is an inconsistency in terminology between the HTML Popover API, which uses "popover", and the existing ARIA attribute aria-haspopup, which utilizes "popup". This discrepancy might create confusion for authors. Hence, I propose adding aria-haspopover as an alias to aria-haspopup.

@MrHBS MrHBS changed the title Proposal to add aria-haspopover Proposal: Introducing aria-haspopover as an alias for aria-haspopup Feb 19, 2024
@scottaohara
Copy link
Member

The problem with this proposal is that it would suggest that authors need to use aria-haspopup for all instances of popovers, which is not the case. Rather aria-haspopup is only really needed for a few use cases, and even then it is arguably unnecessary/ redundant when also exposing an aria-expanded state (as popovers do automatically)

@MrHBS
Copy link
Author

MrHBS commented Feb 19, 2024

Alright, closing this then.

@MrHBS MrHBS closed this as completed Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants