RESOLVED WORKSFORME 151703
AX: aside with aria-labelledby ignores role=presentation
https://bugs.webkit.org/show_bug.cgi?id=151703
Summary AX: aside with aria-labelledby ignores role=presentation
Zoë Bijl
Reported 2015-12-01 05:32:04 PST
Created attachment 266353 [details] Code example When an aside has a role of presentation, its accessibilityRole is AXWebArea. If aria-labelledby is added with a reference to an element the aside's role is AXGroup. This causes it to show up in the Web Rotor as “text in referenced element” + “complementary”. Example in attached file.
Attachments
Code example (369 bytes, text/html)
2015-12-01 05:32 PST, Zoë Bijl
no flags
Radar WebKit Bug Importer
Comment 1 2015-12-01 05:32:14 PST
Zoë Bijl
Comment 2 2015-12-01 06:13:12 PST
Takeshi Kurosawa pointed me at http://trac.webkit.org/browser/trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp#L2002. Seems this is deliberate. Do authors often mistakingly put role=presentation on asides?
chris fleizach
Comment 3 2015-12-01 10:56:23 PST
(In reply to comment #2) > Takeshi Kurosawa pointed me at > http://trac.webkit.org/browser/trunk/Source/WebCore/accessibility/ > AccessibilityNodeObject.cpp#L2002. > > Seems this is deliberate. Do authors often mistakingly put role=presentation > on asides? When role="presentation" is used, the element "disappears" from the accessibility tree. This is expected behavior for anything with presentation
Note You need to log in before you can comment on or make changes to this bug.