RESOLVED FIXED 108979
details element not exposed as disclosure widget to accessibility APIs
https://bugs.webkit.org/show_bug.cgi?id=108979
Summary details element not exposed as disclosure widget to accessibility APIs
James Craig
Reported 2013-02-05 14:02:07 PST
Created attachment 186698 [details] details element test case The generated disclosure widget in the <details> element is not accessible. http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-details-element
Attachments
details element test case (532 bytes, text/html)
2013-02-05 14:02 PST, James Craig
no flags
Patch (8.94 KB, patch)
2023-11-03 16:56 PDT, Joshua Hoffman
no flags
Patch (9.80 KB, patch)
2023-11-03 21:04 PDT, Joshua Hoffman
no flags
Radar WebKit Bug Importer
Comment 1 2013-04-15 23:58:27 PDT
Steve Faulkner
Comment 2 2015-11-19 03:46:35 PST
any update on this? in Safari 8.08 still not exposed as disclosure triangle acc API mapping spec links: open attribute: http://w3c.github.io/aria/html-aam/html-aam.html#att-open-details summary element: http://w3c.github.io/aria/html-aam/html-aam.html#el-summary details element: http://w3c.github.io/aria/html-aam/html-aam.html#el-details
Steve Faulkner
Comment 3 2015-11-19 05:21:26 PST
(In reply to comment #2) > any update on this? > > in Safari 8.08 still not exposed as disclosure triangle > > acc API mapping spec links: > > open attribute: > http://w3c.github.io/aria/html-aam/html-aam.html#att-open-details > summary element: http://w3c.github.io/aria/html-aam/html-aam.html#el-summary > details element: http://w3c.github.io/aria/html-aam/html-aam.html#el-details tested in Safari 9.1 noted that summary has subrole of AXsummary and now identified as group, no indication it is interactive or of collapsed/expanded state.
James Craig
Comment 4 2016-03-29 03:14:01 PDT
Possibly needs to be duped out to bug 131111
Jeongeun Kim
Comment 5 2017-06-20 01:40:22 PDT
Hi, I have a question summary role on Mac. From the spec, https://www.w3.org/TR/html-aam-1.0/#el-summary, it should be mapped to AXDisclosureTriangle but I found WebKit assigns AXButton to role for summary. I tried to change it to AXDisclosureTriangle at createAccessibilityRoleMap() in WebAccessibilityObjectWrapperMac.mm and expanded or collapsed states were not updated with AXDisclosureTriangle role. It seems Mac doesn't support expanded or collapsed state with AXDisclosureTriangle. Could you check it? Thanks,
Karl Dubost
Comment 6 2023-02-14 23:50:30 PST
*** Bug 204628 has been marked as a duplicate of this bug. ***
Karl Dubost
Comment 7 2023-02-14 23:51:56 PST
*** Bug 241401 has been marked as a duplicate of this bug. ***
Karl Dubost
Comment 8 2023-02-14 23:52:48 PST
*** Bug 247512 has been marked as a duplicate of this bug. ***
Darin Senneff
Comment 9 2023-06-27 13:11:31 PDT
Any update on this? Still present on iOS Safari 16.5 + VoiceOver. I consider this a pretty severe bug. When encountering a details/summary element, VO does not announce any kind of role, state, or any indication that the element can be interacted with. Many VO users will be blocked from the contents within if they don’t happen to guess that it can be expanded.
Joshua Hoffman
Comment 10 2023-11-03 16:56:42 PDT
Joshua Hoffman
Comment 11 2023-11-03 21:04:17 PDT
EWS
Comment 12 2023-11-04 10:13:45 PDT
Committed 270231@main (bb55be859f77): <https://commits.webkit.org/270231@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 468482 [details].
Note You need to log in before you can comment on or make changes to this bug.