[wp-trac] [WordPress Trac] #47612: Media modal: implement a default title for the modal H1 heading

WordPress Trac noreply at wordpress.org
Sun Sep 1 15:17:47 UTC 2019


#47612: Media modal: implement a default title for the modal H1 heading
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.3
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots has-     |     Focuses:  accessibility,
  patch commit                       |  javascript
-------------------------------------+-------------------------------------
Changes (by afercia):

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


Comment:

 In [changeset:"45925" 45925]:
 {{{
 #!CommitTicketReference repository="" revision="45925"
 Accessibility: Add a default title for the media modal dialog.

 Makes sure the media modal dialog `h1` heading isn't empty when custom
 media frames don't set a title. This is particularly important now that
 the media modal is an ARIA dialog, as the title is referenced by an `aria-
 labelledby` attribute to properly label the dialog.

 Props donmhico, audrasjb.
 Fixes #47612.
 }}}

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


More information about the wp-trac mailing list