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

    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE

      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.

            phalacee Jason Fowler
            jrh18 Jason Hardin (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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