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

XHTML validation broken because of tabindex in spans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.1
    • Accessibility, Navigation
    • None
    • MOODLE_21_STABLE
    • Hide

      Try and validate the font page of a vanilla Moodle 2.1 install.

      Show
      Try and validate the font page of a vanilla Moodle 2.1 install.

      As part of the work done for improving acessibility in Moodle, XHTML validation has been broken.

      The 'span' element does not support the 'tabindex' attribute (see http://www.w3.org/TR/html4/struct/global.html#edef-SPAN), but this is being used in the navigation menu which is present on almost all pages. Consequently almost all of Moodle fails validation (regardless of theme chosen).

      This problem occurres in:
      /blocks/navigation/renderer.php
      /lib/outputrenderers.php

        1. MDL-28669.patch
          2 kB
          Evan Irving-Pease

            moodle.com Moodle HQ
            evanirvingpease Evan Irving-Pease (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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