-
Notifications
You must be signed in to change notification settings - Fork 214
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
[Popup] Semantics #436
Comments
I suggest a less specific role as I can imagine popup being used for a variety of content (i can see it being the native tooltip that HTML deserves) |
What Steve said 😁 We're showing a lot of action menus as examples, but the base role would imply fairly generic popup-y semantics. In short term, semantics can be made more specific with ARIA. Long-term, we should consider which of these more specific paradigms makes sense to up-level into new, purpose-built elements. |
Referring to this paragraph in the explainer:
If the implicit role is a less specific one as opposed to |
Thanks @Malvoz!
|
Thanks again generally to this crew for weighing in...now tracking the need for accessibility mappings in openui/open-ui#329! |
The explainer mentions that there's a freedom for the author to set semantics, but is there a default semantic role for the popup?
I can imagine the default implicit role to be
role="menu"
, and a default implicitaria-haspopup="menu"
on the invoker. This would imply limited options for content (when the author doesn't change the role) but seems to cover the use cases shown in the explainer.The text was updated successfully, but these errors were encountered: