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

File picker Error modal does not focus on text

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
    • Testing Instructions:
      Hide
      1. Login as a student
      2. Navigate to a course
      3. Click the assignment
      4. Click add submissions
      5. Click the Private files button in the file picker with a screen reader on after the user has their session time out.
      6. Make sure the page redirect to login page
      Show
      Login as a student Navigate to a course Click the assignment Click add submissions Click the Private files button in the file picker with a screen reader on after the user has their session time out. Make sure the page redirect to login page
    • Story Points:
      3
    • Sprint:
      FRONTEND Sprint 3

      Description

      Issue
      Context change - When the file pickers displays the error modal, the focus is not being put in the modal window but is being sent back to the top of the page. Screen reader and keyboard users now have to make their way back to the modal window, only to find out it's impossible to get back in it (and therefore, close it).

      Standard Level
      WCAG 2 3.2.2 (A) http://www.w3.org/WAI/WCAG20/quickref/#qr-minimize-error-cues

      Impact
      Critical

      Example Link
      http://demo.moodle.net/mod/assign/view.php?id=1778&action=editsubmission

      Test Steps

      1. Login as a student
      2. Navigate to a course
      3. Click the assignment
      4. Click add submissions
      5. Click the Private files button in the file picker with a screen reader on after the user has their session time out.
      6. Notice the screen reader starts reading at the top of the page.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rwijaya Rossiani Wijaya
              Reporter:
              jrh18 Jason Hardin
              Peer reviewer:
              Jérôme Mouneyrac Jérôme Mouneyrac
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: