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

XHTML validation broken because of tabindex in spans

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: Accessibility, Navigation
    • Labels:
      None
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_21_STABLE

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              evanirvingpease Evan Irving-Pease
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Jake Dallimore, Jun Pataleta
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: