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

Accessibility: Help popups fail WCAG 1.4.13 (Dismissable)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.2
    • Fix Version/s: 3.7.3
    • Component/s: Accessibility
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to the login page, or any other page with a help popup ? icon
      2. Use the keyboard to tab to the icon - the popup appears when you tab to it
      3. Press the Esc key
        • EXPECTED: The popup should go away
      Show
      Go to the login page, or any other page with a help popup ? icon Use the keyboard to tab to the icon - the popup appears when you tab to it Press the Esc key EXPECTED: The popup should go away
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:
      MDL-67149-master

      Description

      The new help popups in Moodle 3.7, aside from being annoying, are not accessible. Specifically they fail WCAG 1.4.13 https://www.w3.org/TR/WCAG21/#content-on-hover-or-focus. When you tab to the help icon, the popup appears, and it doesn't go away unless you tab away. The Esc key does nothing. Here is the requirement:

      Dismissable
      A mechanism is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an input error or does not obscure or replace other content;

      This is basically the Esc key rule; the popup must go away when you press Escape (so that you can get rid of it without having to tab away), and it doesn't.

      Apart from this the popups seem to be OK because they include an Aria role="tooltip".

      I'll see how easy this is to make the Esc key work!

        Attachments

          Activity

            People

            Assignee:
            quen Sam Marshall
            Reporter:
            quen Sam Marshall
            Peer reviewer:
            Tim Hunt
            Integrator:
            Andrew Nicols
            Tester:
            Gladys Basiana
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Nov/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m