Make WordPress Core

Ticket #40970: 40970.diff

File 40970.diff, 3.4 KB (added by afercia, 8 years ago)
  • src/wp-admin/css/common.css

     
    121121.screen-reader-text,
    122122.screen-reader-text span,
    123123.ui-helper-hidden-accessible {
    124         position: absolute;
     124        border: 0;
     125        clip: rect(1px, 1px, 1px, 1px);
     126        clip-path: inset(50%);
     127        height: 1px;
    125128        margin: -1px;
     129        overflow: hidden;
    126130        padding: 0;
    127         height: 1px;
     131        position: absolute;
    128132        width: 1px;
    129         overflow: hidden;
    130         clip: rect(0 0 0 0);
    131         border: 0;
    132133        word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
    133134}
    134135
     
    16171618        margin-left: 0 !important;
    16181619}
    16191620
    1620 #screen-meta .screen-reader-text {
    1621         visibility: hidden;
    1622 }
    1623 
    16241621#screen-meta-links {
    16251622        margin: 0 20px 0 0;
    16261623}
  • src/wp-admin/css/install.css

     
    402402
    403403.screen-reader-input,
    404404.screen-reader-text {
    405         position: absolute;
     405        border: 0;
     406        clip: rect(1px, 1px, 1px, 1px);
     407        clip-path: inset(50%);
     408        height: 1px;
    406409        margin: -1px;
     410        overflow: hidden;
    407411        padding: 0;
    408         height: 1px;
     412        position: absolute;
    409413        width: 1px;
    410         overflow: hidden;
    411         clip: rect(0 0 0 0);
    412         border: 0;
     414        word-wrap: normal !important;
    413415}
    414416
    415417.spinner {
  • src/wp-admin/css/list-tables.css

     
    18211821        /* Show comment bubble as text instead */
    18221822        .post-com-count .screen-reader-text {
    18231823                position: static;
     1824                clip-path: none;
    18241825                width: auto;
    18251826                height: auto;
    18261827                margin: 0;
  • src/wp-admin/css/nav-menus.css

     
    599599
    600600.no-js.nav-menus-php .item-edit .screen-reader-text {
    601601        position: static;
     602        clip-path: none;
    602603        width: auto;
    603604        height: auto;
    604605        margin: 0;
  • src/wp-includes/css/admin-bar.css

     
    691691/* Skip link */
    692692#wpadminbar .screen-reader-text,
    693693#wpadminbar .screen-reader-text span {
     694        border: 0;
     695        clip: rect(1px, 1px, 1px, 1px);
     696        clip-path: inset(50%);
     697        height: 1px;
     698        margin: -1px;
     699        overflow: hidden;
     700        padding: 0;
    694701        position: absolute;
    695         left: -1000em;
    696         top: -1000em;
    697         height: 1px;
    698702        width: 1px;
    699         overflow: hidden;
     703        word-wrap: normal !important;
    700704}
    701705
    702706#wpadminbar .screen-reader-shortcut {
  • src/wp-includes/css/wp-embed-template.css

     
    99
    1010/* Text meant only for screen readers */
    1111.screen-reader-text {
     12        border: 0;
    1213        clip: rect(1px, 1px, 1px, 1px);
     14        clip-path: inset(50%);
    1315        height: 1px;
     16        margin: -1px;
    1417        overflow: hidden;
    15         position: absolute !important;
     18        padding: 0;
     19        position: absolute;
    1620        width: 1px;
     21        word-wrap: normal !important;
    1722}
    1823
    1924/* Dashicons */