Make WordPress Core

Changeset 39529


Ignore:
Timestamp:
12/06/2016 11:27:04 PM (10 years ago)
Author:
afercia
Message:

Accessibility: Improve keyboard accessibility avoiding confusing tab stops in the Media views.

When sections of the media modal are hidden out of view, their controls may be
still focusable and actionable. This completely hides these sections to avoid
unnecessary tab stops and potential confusion for assistive technology users.

Props SergeyBiryukov, afercia.

Fixes #30599.

File:
1 edited

Legend:

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

    r38152 r39529  
    702702}
    703703
    704 .media-frame.hide-menu .media-frame-menu {
    705         left: -200px;
    706 }
    707 
    708704.media-frame.hide-toolbar .media-frame-content {
    709705        bottom: 0;
    710706}
    711707
    712 .media-frame.hide-toolbar .media-frame-toolbar {
    713         bottom: -61px;
    714 }
    715 
    716708.media-frame.hide-router .media-frame-content {
    717709        top: 50px;
    718710}
    719711
    720 .media-frame.hide-router .media-frame-router {
     712.media-frame.hide-menu .media-frame-menu,
     713.media-frame.hide-router .media-frame-router,
     714.media-frame.hide-toolbar .media-frame-toolbar {
    721715        display: none;
    722716}
Note: See TracChangeset for help on using the changeset viewer.