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

Incorrect ARIA navigation role on ul/ol elements breaks validation

XMLWordPrintable

    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-56943-master
    • Hide

      Using a screen reader (JAWS testing epecially required). I want you to compare with the previous behaviour and verify it is better/the same

      1. Verify that the navbar items are read as navigation items
      2. Verify that the site homepage link is read out as a banner
      Show
      Using a screen reader (JAWS testing epecially required). I want you to compare with the previous behaviour and verify it is better/the same Verify that the navbar items are read as navigation items Verify that the site homepage link is read out as a banner

      The curent w3c spec says on UL/OL elements:

      Allowed ARIA role attribute values:
      list role (default - do not set), directory, group, listbox, menu, menubar, presentation, tablist, toolbar or tree.

      Yet in various places around Moodle we are applying role="navigation" to ul/ol's. Perhaps we need to be wrapping them in a <div> or a <nav>?

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            Marina Glancy Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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