Make WordPress Core

Changeset 32521


Ignore:
Timestamp:
05/21/2015 06:04:03 PM (10 years ago)
Author:
jorbin
Message:

In List Tables, ensure sorting indicator is visible on focus

In all List Tables, when tabbing through the sortable headers links, the "sorting-indicator" arrows are not displayed. Keyboard users are missing important feedback about the links purpose.

Happy #GAAD

Props afercia
Fixes #32189

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/list-tables.css

    r32495 r32521  
    373373
    374374.sorting-indicator:before {
    375     background: none;
    376375    content: '\f142';
    377376    font: normal 20px/1 'dashicons';
     
    397396
    398397th.sorted.asc .sorting-indicator:before,
    399 th.desc:hover span.sorting-indicator:before {
     398th.desc:hover span.sorting-indicator:before,
     399th.desc a:focus span.sorting-indicator:before {
    400400    content: '\f142';
    401401}
    402402
    403403th.sorted.desc .sorting-indicator:before,
    404 th.asc:hover span.sorting-indicator:before {
     404th.asc:hover span.sorting-indicator:before,
     405th.asc a:focus span.sorting-indicator:before {
    405406    content: '\f140';
    406407}
     
    483484}
    484485
    485 th.sorted.asc .sorting-indicator,
    486 th.desc:hover span.sorting-indicator {
     486th.sorted .sorting-indicator,
     487th.desc:hover span.sorting-indicator,
     488th.desc a:focus span.sorting-indicator,
     489th.asc:hover span.sorting-indicator,
     490th.asc a:focus span.sorting-indicator {
    487491    display: block;
    488     background-position: 0 0;
    489 }
    490 
    491 th.sorted.desc .sorting-indicator,
    492 th.asc:hover span.sorting-indicator {
    493     display: block;
    494     background-position: -7px 0;
    495492}
    496493
Note: See TracChangeset for help on using the changeset viewer.