Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-35816 Accessibility Review issues (Deque)
  3. MDL-35825

Expandable groups in tree navigation blocks should use button tags not link tags

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE

      Description

      Issue
      Semantics - The expand/collapse buttons, icons and folders should be coded using a <button> element and not a <a> element, as activating them is not leading the user anywhere (as would a link).

      Standard Level
      WCAG 2 A 1.3.1 http://www.w3.org/TR/WCAG20/#content-structure-separation-programmatic

      Impact

      Example Link
      http://demo.moodle.net/course/view.php?id=625
      Group links like course in the settings block show as links and should be buttons due to their purpose to only expand a list of links and not navigate the user to a new page.

        Attachments

          Activity

            People

            Assignee:
            phalacee Jason Fowler
            Reporter:
            jrh18 Jason Hardin
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: