Popups and a11y #1781
Replies: 7 comments 18 replies
-
Hint popups and keyboard / touch navigationThere are still open questions on if hint popups will be opened via hover/focus of a popup trigger. There are a number of things that need to be worked out here due to the For instance, how would one access a hint popup if it were invoked via a non-interactive element? This is presently an issue with the There have been many discussions around this topic - largely recorded in openui/open-ui#526 Presently hover behavior is likely being punted to version 2 of the There is still the question of how does one access the hint popup with touch, even when used on interactive elements. Even if there were, say a long press to expose this content, how would users even be aware there was content to expose via this touch method? E.g., it could be programmatically exposed, but what visual cue might there be, if any? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Popup anchoring and reading orderOne benefit to the A way that developers mitigate such issues now is they render popups at the bottom of the DOM, and then position them in the correct visual location using JS and CSS. However, this rarely mitigates the issue that these two elements, which have a strong visual association, are nowhere near each other in the DOM flow. Someone using a screen reader, for instance, may easily find themselves leaving the boundaries of one of these popups, and being located at the bottom of the web page - no where near the trigger that invoked the popup. Or, if focus was not moved to the popup when it was invoked, then if using scan/reading mode, one will likely not find the popup. Again, the But, this does not ensure that all developers will follow this guidance. For instance, if a single popup is used for multiple triggering elements (e.g., a single |
Beta Was this translation helpful? Give feedback.
-
Manual PopupsThe primary IMO, this seems like a version of modeless dialogs which are rendered in the top layer, rather than necessarily something that could/should have aria-live announcements associated with it (though such announcements would be necessary if used as a toast/notification... but is that functionality really a part of the Such popups would benefit from many of the open discussions / requests to allow for modeless dialogs to be easily accessed via special keyboard commands. (e.g., ctrl + f6) |
Beta Was this translation helpful? Give feedback.
-
Attributes for button elementsThere are a number of additional attributes that will accompany
These attributes are to be supported on elements that expose a The I'm not convinced |
Beta Was this translation helpful? Give feedback.
-
Focus behavior for different popupsThere is an open question about how focus should be handled when invoking the different popup types, and depending on the attribute used on the invoking button element. Re: attributes for button elements Depending on the type of popup that is invoked, focus may make sense to stay on the invoking element, or it may make sense to move to the rendered popup. E.g., a But, a button that invokes a modeless dialog popup likely should use the
|
Beta Was this translation helpful? Give feedback.
-
There needs to be some role to keep the popup from bleeding into the rest of the page. This is a problem across all popup types, e.g. These are possibilities for the minimum role:
|
Beta Was this translation helpful? Give feedback.
-
NOTE: this discussion has moved back to a google doc: https://docs.google.com/document/d/1umackdZ9wZsr0cJtM6IfpFLN0RJKCypdYiRe_nJuk8c/edit#heading=h.7fodzd7pkxs0
Presently there are three values for the popup attribute, representing three types of behaviors.
The differences of each are defined in the popup attribute explainer.
There are a number of open issues for
popup
in the Open UI GitHub repo.This discussion thread will allow the ARIA WG a place to comment on topics concerning
popup
- which may well spill over into related topics such as:Beta Was this translation helpful? Give feedback.
All reactions