[wp-trac] [WordPress Trac] #47611: Media views: hide the "file upload button" from assistive technologies

WordPress Trac noreply at wordpress.org
Wed May 20 13:31:47 UTC 2020


#47611: Media views: hide the "file upload button" from assistive technologies
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  afercia
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.5
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots has-     |     Focuses:  accessibility,
  patch commit                       |  javascript
-------------------------------------+-------------------------------------
Changes (by afercia):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47834" 47834]:
 {{{
 #!CommitTicketReference repository="" revision="47834"
 Accessibility: Media: Hide the invisible "file input" on media views from
 assistive technologies.

 The file input button is visually hidden, but was announced by screen
 readers in workflows unrelated to file uploads.
 It is now hidden from assistive technologies by the means of an `aria-
 hidden` attribute, as its CSS display property must not be changed to make
 sure it still works on old browsers.

 See #49753.
 Fixes #47611.
 }}}

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


More information about the wp-trac mailing list