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

Navigation block: tabindex used on span does not validate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.1
    • Navigation
    • MOODLE_21_STABLE
    • Hide

      1. Validate a Moodle page, such as http://moodle.org/course/view.php?id=5, using the W3C validator.

      Expected result: No validation errors.
      Current result: One error about tabindex attribute on span, referring to a section in the navigation block.

      Show
      1. Validate a Moodle page, such as http://moodle.org/course/view.php?id=5 , using the W3C validator. Expected result: No validation errors. Current result: One error about tabindex attribute on span, referring to a section in the navigation block.

      Unfortunately, XHTML does not allow tabindex on span, which is now used in the navigation block to make it accessible.

      Typically the solution for this is to add the tabindex attribute in JavaScript (obviously, there is no point tabbing to a span if JavaScript isn't working anyway).

            Unassigned Unassigned
            quen Sam Marshall
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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