[wp-trac] [WordPress Trac] #47120: Media modals: Upload errors and field information are not associated with their control

WordPress Trac noreply at wordpress.org
Sun Jan 31 19:20:00 UTC 2021


#47120: Media modals: Upload errors and field information are not associated with
their control
-----------------------------------------+--------------------------------
 Reporter:  afercia                      |       Owner:  antpb
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  5.7
Component:  Media                        |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  wpcampus-report needs-patch  |     Focuses:  ui, accessibility
-----------------------------------------+--------------------------------

Comment (by joedolson):

 To test:

 1) Media > Add New

 Navigate to 'Select Files'
   - Screen reader should output 'Select Files' and add the descriptive
 information shown below

 Upload a file that triggers an error
   - Screen reader should report the error, focus should move to the error
 container.
  Note: this currently only works on repeated errors, the first error does
 not trigger the alert or the focus move.

 2) Add media to post: same tests within the Media Modal.

 Note: in the media modal, the alert and focus move *do* work as expected
 with this patch.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47120#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list