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. git-svn-id: https://develop.svn.wordpress.org/trunk@37610 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
04d01a8eb4
commit
2e54e6cb85
@ -3772,11 +3772,11 @@ AttachmentsBrowser = View.extend({
|
||||
this.controller.on( 'toggle:upload:attachment', this.toggleUploader, this );
|
||||
this.controller.on( 'edit:selection', this.editSelection );
|
||||
this.createToolbar();
|
||||
this.createUploader();
|
||||
this.createAttachments();
|
||||
if ( this.options.sidebar ) {
|
||||
this.createSidebar();
|
||||
}
|
||||
this.createUploader();
|
||||
this.createAttachments();
|
||||
this.updateContent();
|
||||
|
||||
if ( ! this.options.sidebar || 'errors' === this.options.sidebar ) {
|
||||
|
@ -41,11 +41,11 @@ AttachmentsBrowser = View.extend({
|
||||
this.controller.on( 'toggle:upload:attachment', this.toggleUploader, this );
|
||||
this.controller.on( 'edit:selection', this.editSelection );
|
||||
this.createToolbar();
|
||||
this.createUploader();
|
||||
this.createAttachments();
|
||||
if ( this.options.sidebar ) {
|
||||
this.createSidebar();
|
||||
}
|
||||
this.createUploader();
|
||||
this.createAttachments();
|
||||
this.updateContent();
|
||||
|
||||
if ( ! this.options.sidebar || 'errors' === this.options.sidebar ) {
|
||||
|
Loading…
Reference in New Issue
Block a user