[Webkit-unassigned] [Bug 201581] AX: HTML menu element should map to role=list
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 29 01:13:43 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=201581
Frédéric Wang (:fredw) <fred.wang at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fred.wang at free.fr
Assignee|webkit-unassigned at lists.web |scelles at igalia.com
|kit.org |
--- Comment #3 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
https://w3c.github.io/html-aam/ also seems to say it's mapped to list role.
Checking AccessibilityNodeObject::determineAccessibilityRoleFromNode ( https://github.com/WebKit/WebKit/blob/main/Source/WebCore/accessibility/AccessibilityNodeObject.cpp#L262 ) I see:
- <ol> and <ul> are mapped to AccessibilityRole::List;
- <menu type="toolbar"> tag is mapped to AccessibilityRole::Toolbar ; we'll need to check/think about this, but the type attribute seems to be obsolete per https://html.spec.whatwg.org/multipage/obsolete.html#attr-menu-type
- other <menu> elements are not handled.
I see Firefox maps to list too: https://searchfox.org/mozilla-central/rev/4a15041348e08fb0d6f5726015c32861e663fbfe/accessible/base/HTMLMarkupMap.h#279
I haven't checked yet what Chromium does.
Assigning to Sirri.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220729/fe4832df/attachment-0001.htm>
More information about the webkit-unassigned
mailing list