Skip to content

Commit 43f876d

Browse files
author
afercia
committed
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. Built from https://develop.svn.wordpress.org/trunk@37610
1 parent ecff351 commit 43f876d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

wp-includes/js/media-views.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3772,11 +3772,11 @@ AttachmentsBrowser = View.extend({
37723772
this.controller.on( 'toggle:upload:attachment', this.toggleUploader, this );
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

37823782
if ( ! this.options.sidebar || 'errors' === this.options.sidebar ) {

0 commit comments

Comments
 (0)