WordPress.org

Make WordPress Core

Changeset 37610


Ignore:
Timestamp:
06/01/2016 05:38:04 PM (4 years ago)
Author:
afercia
Message:

Accessibility: match the visual and tab order in the Media Modal grid.

By moving the Details sidebar after the attachments grid, the tab order is
greatly improved for keyboard users and matches the logical and visual order.

Fixes #36909.

Location:
trunk/src/wp-includes/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media-views.js

    r37113 r37610  
    37733773        this.controller.on( 'edit:selection', this.editSelection );
    37743774        this.createToolbar();
     3775        this.createUploader();
     3776        this.createAttachments();
    37753777        if ( this.options.sidebar ) {
    37763778            this.createSidebar();
    37773779        }
    3778         this.createUploader();
    3779         this.createAttachments();
    37803780        this.updateContent();
    37813781
  • trunk/src/wp-includes/js/media/views/attachments/browser.js

    r36575 r37610  
    4242        this.controller.on( 'edit:selection', this.editSelection );
    4343        this.createToolbar();
     44        this.createUploader();
     45        this.createAttachments();
    4446        if ( this.options.sidebar ) {
    4547            this.createSidebar();
    4648        }
    47         this.createUploader();
    48         this.createAttachments();
    4949        this.updateContent();
    5050
Note: See TracChangeset for help on using the changeset viewer.