WordPress.org

Make WordPress Core

Ticket #21333: 21333.patch

File 21333.patch, 1.0 KB (added by SergeyBiryukov, 6 years ago)
  • wp-admin/css/wp-admin.dev.css

     
    191191/* Hide visually but not from screen readers */
    192192.screen-reader-text,
    193193.screen-reader-text span {
    194         position: absolute;
     194        position: absolute !important;
    195195        left: -1000em;
    196         height: 1px;
    197         width: 1px;
     196        height: 1px !important;
     197        width: 1px !important;
    198198        overflow: hidden;
    199199}
    200200
  • wp-includes/admin-bar.php

     
    617617                return;
    618618
    619619        $title = '<span class="ab-icon"></span><span class="ab-label">' . number_format_i18n( $update_data['counts']['total'] ) . '</span>';
     620        $title .= '<legend class="screen-reader-text"><span>' . $update_data['title'] . '</span></legend>';
    620621
    621622        $wp_admin_bar->add_menu( array(
    622623                'id'    => 'updates',