mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
8da6404e4c
Currently we have a structure like the following: <div role="menu" id="toolbox-meatball-menu"> <li class="menuitem"> <button role="menuitemcheckbox" aria-checked="true"> <span class="label">Dock to Bottom</span> </button> </li> <li class="menuitem"> <button role="menuitemcheckbox"> <span class="label">Dock to Right</span> </button> </li> <hr></hr> <li class="menuitem"> <button class="command" role="menuitem"> <span class="label">Documentation…</span> </button> </li> </div> As a result there is an <li> wrapper element between the role="menuitem" element at the role="menu" element. By setting role="presentation" on the <li> wrapper we can produce a more sensible accessibility tree. Differential Revision: https://phabricator.services.mozilla.com/D2642 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild |