Ticket #56789: 56789.3.patch
File 56789.3.patch, 3.2 KB (added by , 2 years ago) |
---|
-
src/wp-admin/css/common.css
141 141 .screen-reader-shortcut { 142 142 position: absolute; 143 143 top: -1000em; 144 }145 146 .screen-reader-shortcut:focus {147 144 left: 6px; 148 top: -25px;149 145 height: auto; 150 146 width: auto; 151 147 display: block; … … 152 148 font-size: 14px; 153 149 font-weight: 600; 154 150 padding: 15px 23px 14px; 151 /* Background and color set to prevent false positives in automated accessibility tests. */ 155 152 background: #f0f0f1; 156 153 color: #2271b1; 157 154 z-index: 100000; 158 155 line-height: normal; 156 } 157 158 .screen-reader-shortcut:focus { 159 top: -25px; 160 /* Overrides a:focus in the admin. See ticket #56789. */ 161 color: #2271b1; 159 162 box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); 160 163 text-decoration: none; 161 164 /* Only visible in Windows High Contrast mode */ -
src/wp-includes/css/admin-bar.css
719 719 #wpadminbar .screen-reader-shortcut { 720 720 position: absolute; 721 721 top: -1000em; 722 }723 724 #wpadminbar .screen-reader-shortcut:focus {725 722 left: 6px; 726 top: 7px;727 723 height: auto; 728 724 width: auto; 729 725 display: block; … … 735 731 z-index: 100000; 736 732 line-height: normal; 737 733 text-decoration: none; 734 } 735 736 #wpadminbar .screen-reader-shortcut:focus { 737 top: 7px; 738 background: #f0f0f1; 738 739 box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); 739 740 } 740 741