DevTools: Marking context menu submenu items as 'aria-haspopup = true'
Example of submenu: https://imgur.com/fBFrvao According to W3C, elements should be marked as 'aria-haspopup = true' if: - it indicates the availability and type of interactive popup element - the popup element appears as a block of content that is on top of other content Context menu submenu items meet the criteria since the arrow indicates another context menu, and the submenu context menu is the popup element. Here is a W3C example of a similar construct that they mark as 'aria-haspopup = true': https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-1/menubar-1.html Bug: 963183 Change-Id: I7cf82fb266847698555c7a81ecbd7f5b3827f26f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1725163 Commit-Queue: Michael Liao <michael.liao@microsoft.com> Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#697131}
Showing
Please register or sign in to comment