-
Notifications
You must be signed in to change notification settings - Fork 218
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] aria live, controls/expanded, etc? #434
Comments
These are not specifically responses to @getify, but my effort to attenuate these good questions based on what I know of SRs and browsers.
Wading in to say I hope not. Per the explainer it "can contain arbitrary content". Live regions do not announce the structure that authors will use in that container (headings, lists, etc). That means making it a live region will result in a verbose flat announcement that will still require a user to wade into the container.
The explainer shows The Building on this,
For the first question, I believe as long as this proposal leans on existing patterns exposed via ARIA and known to browsers (such as disclosure widgets or dialogs), then the browsers can expose it in their accessibility APIs without impact to screen readers. The proposed built-in behaviors here seem to be the unique aspect and those would fall to browsers to implement. In short, if done carefully, screen readers and other assistive technology may need to do little to nothing. |
Great questions, thanks!
|
Steve Faulkner has done some testing on In short, current support is spotty. It looks like browsers and screen readers need to build much better support before relying on existing AAPI hooks for |
Thanks again all for the discussion here! Working on porting popup issues over to Open UI for incubation, so a quick FYI that we will track the need to define accessibility mappings for popup and its primitives at openui/open-ui#329! |
Is it expected a popup will automatically behave as if it's an aria-live element (in terms of its showing being announced by the SR)? If so, is it
polite
orassertive
? Or will we still have to add that to the markup?Will it (and its associated anchor) automatically have the
controls
/expanded
duality and toggling behavior that is typical of A11y-aware menus/etc? Or will we still have to manage those bits in code?Speaking of A11y and SRs, how quickly would we expect SRs to pick up on this new element and treat it well, versus having to shim expected behaviors with all those aforementioned various workarounds? Is advance outreach work with SRs being considered to make sure they are "ready" for this element and that they are interested in supporting it?
The text was updated successfully, but these errors were encountered: