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

Closed Nav Drawer still in keyboard flow

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.7.5, 3.8.2, 3.9
    • None
    • Accessibility, Navigation
    • None

    Description

      When tabbing through the links on a page, the links in the nav drawer are still in the tab order even when the nav drawer is closed. This can feel like a keyboard trap as the focus disappears from view and is only accessible to those with a screenreader.

      Why is this happening? Because the nav drawer is simply moved off screen but still occupies space.

      The solution is to set the CSS for the nav drawer to display:none when closed.

      Attachments

        Issue Links

          Activity

            People

              michael-milette Michael Milette
              michael-milette Michael Milette
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: