Moodle
  1. Moodle
  2. MDL-22518

Group dropdowns prevent tab from functioning correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.8
    • Fix Version/s: 1.9.9
    • Component/s: Accessibility
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      26722

      Description

      The group dropdowns (as used e.g. in Forum when in separate groups mode) have a critical bug in the IE/JavaScript implementation which means that when used in IE7/8 (+older versions) you cannot navigate page with keyboard. As soon as you tab through the group selector, it reloads the page, taking you back to the top.

      This is due to a logic error in lib/dropdown.js; the selectFocussed function, apart from being spelt wrong, is never called.

      Moodle 2 does not suffer from this problem although there is a different related one. I have reported this separately as MDL-22517.

        Activity

        Hide
        Sam Marshall added a comment -

        I have fixed this bug and tested in IE7 and the dropdown now appears to work correctly:

        1) It works with mouse
        2) With keyboard, if you change selection then tab out or press Enter, it goes to the target page
        3) With keyboard, if you do not change selection then tab out, it does not go to another page but allows you to tab through the rest of the page

        Show
        Sam Marshall added a comment - I have fixed this bug and tested in IE7 and the dropdown now appears to work correctly: 1) It works with mouse 2) With keyboard, if you change selection then tab out or press Enter, it goes to the target page 3) With keyboard, if you do not change selection then tab out, it does not go to another page but allows you to tab through the rest of the page

          People

          • Assignee:
            Sam Marshall
            Reporter:
            Sam Marshall
            Tester:
            Nobody
            Participants:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: