Closed Bug 1330659 Opened 4 years ago Closed 9 months ago
Make HTML5 <dialog> accessible
Support for the HTML5 <dialog> element is currently being worked on in dependent bugs to bug 840640. We need to make sure it is exposed to accessibility APIs before the element gets pref'ed on for users and web developers by default. Accessibility API mapping: https://www.w3.org/TR/html-aam-1.0/ We basically need to mimic what we do for WAI-ARIA.
(In reply to Marco Zehe (:MarcoZ) from comment #0) > Accessibility API mapping: https://www.w3.org/TR/html-aam-1.0/ > > We basically need to mimic what we do for WAI-ARIA. so role='dialog' only? any tricks for inert content? what other browsers do?
Adding accessibility is very simple. Leaving it here for safekeeping, will write a test later when support solidifies and then make sure stuff gets reviewed and checked in in time.
Assignee: nobody → mzehe
Status: NEW → ASSIGNED
(In reply to alexander :surkov from comment #1) > so role='dialog' only? any tricks for inert content? I'm not sure if we'll implement inert, or blocking element, or something else. It is worth following: Bug 1200896
(In reply to David Bolter [:davidb] from comment #3) > (In reply to alexander :surkov from comment #1) > > > so role='dialog' only? any tricks for inert content? > > I'm not sure if we'll implement inert, or blocking element, or something > else. It is worth following: Bug 1200896 that was a whole point as I understand it :)
A key aspect to ensuring the usability/accessibility of the Firefox dialog implementation is to move focus to the dialog container when a dialog is displayed. This is not what is currently specced, but there is a related issue https://github.com/whatwg/html/issues/1929 I would suggest that firefox should implement whats best for users rather than whats in the spec, in this regards. Another consideration is moving focus back to the triggering element when a dialog is dismissed.
4 years ago
Priority: -- → P3
It seems it's not yet implemented, see bug 840640 (no dependencies fixed). Let's move out if from the backlog (one day we should traverse it), we will bump up its priority when it's ready.
Priority: P3 → P5
Agree with Alex, this is not yet relevant.
Flags: needinfo?(mzehe) → needinfo?(sefeng)
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/279475d81cbb Expose the HTML dialog element to accessibility APIs, r=Jamie
You need to log in before you can comment on or make changes to this bug.