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

'Upload a file...' button does not bring focus to the File picker

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_20_STABLE

      Description

      When you attempt to upload a file with an activity:

      • Choose a file... button
      • Opens the file picker

      *Result:* Opens file picker but does not bring focus to File picker overlay. Tabbing continues moving through the DOM from last focused element (the choose a file button).

      *Expected Result:* Focus is moved to the File picker overlay and subsequent tabs move the user through the File Picker

      *Justification:* Blind/Keyboard users have to tab to the bottom of the document until they arrive at the File Picker. This is more of an issue to a Blind user who is not even informed that the File Picker overlay has appeared on screen. Proper use of focus() and ARIA roles should be used to bring focus to the new element and announce the appearance of the File picker.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cptvitamin Mark Sadecki
                Participants:
                Component watchers:
                Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Barbara Ramiro, Jake Dallimore, Jun Pataleta
              • Votes:
                7 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: