gecko-dev/devtools
Brian Birtles 8da6404e4c Bug 1477354 - Add role=presentation to MenuItem wrapper element; r=Jamie
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
2018-08-02 03:55:26 +00:00
..
client Bug 1477354 - Add role=presentation to MenuItem wrapper element; r=Jamie 2018-08-02 03:55:26 +00:00
docs Bug 1475474 - Fix broken link to Firefox Build page in devtools-docs;r=sole 2018-07-13 09:02:27 +02:00
platform
server Bug 1478945 - Test global actors against xpcshell debugger server. r=jdescottes 2018-07-31 10:08:51 -07:00
shared Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-02 01:19:44 +03:00
startup Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins 2018-07-31 19:13:38 +00:00
.eslintrc.js Bug 1471540 - Make DevTools code compatible with new eslint-plugin-react;r=standard8 2018-07-20 14:26:45 +02:00
.eslintrc.mochitests.js Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe 2018-03-06 22:50:58 +00:00
.eslintrc.xpcshell.js Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe 2018-03-06 22:50:58 +00:00
CODE_OF_CONDUCT.md
moz.build Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander 2018-06-20 21:34:40 +03:00
templates.mozbuild