Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-85596

Sub-Menus’ ARIA label not updated on toggle

XMLWordPrintable

    • MOODLE_405_STABLE

      When clicking on a sub-menu toggle inside the primary navigation to open that menu, the element’s aria-expanded attribute is still set to false.
      (here is a typical CSS selector for such a toggle: .moremenu .dropdown .dropdown-toggle)

      Not only could this be an accessibility issue, fixing it would also make it easier to style opened menus.

      It should be reproducible when setting custommenu to something like this:

      Some Menu
      -example a|https://example.org
      Some Other Menu
      -example b|https://example.org

        1. test.png
          409 kB
          Ron Carl Alfon Yu
        2. shot.png
          275 kB
          Alex Kremser

            Unassigned Unassigned
            smeikx Alex Kremser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.