[wp-trac] [WordPress Trac] #43169: Media views: avoid to move focus programmatically when not strictly necessary

WordPress Trac noreply at wordpress.org
Wed Jun 12 21:02:11 UTC 2019


#43169: Media views: avoid to move focus programmatically when not strictly
necessary
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  afercia
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.3
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch commit                       |  javascript
-------------------------------------+-------------------------------------
Changes (by afercia):

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


Comment:

 In [changeset:"45524" 45524]:
 {{{
 #!CommitTicketReference repository="" revision="45524"
 Accessibility: Improve focus management in the Media Views.

 - keeps focus management only where necessary to avoid focus losses
 - removes focus management where a specific user workflow was assumed
 - makes the "Attachment Details" navigation buttons really disabled when
 there are no next or previous attachments
 - adds inline comments to clarify all the usages of focus()

 Fixes #43169.
 }}}

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


More information about the wp-trac mailing list