Make WordPress Core

Ticket #40733: 40733.diff

File 40733.diff, 3.5 KB (added by afercia, 7 years ago)
  • src/wp-admin/css/dashboard.css

     
    440440        color: #ddd;
    441441}
    442442
     443/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
     444.community-events-footer .screen-reader-text {
     445        height: inherit;
     446        white-space: nowrap;
     447}
     448
    443449/* Dashboard WordPress news */
    444450
    445451#dashboard_primary .inside {
  • src/wp-admin/includes/dashboard.php

     
    11261126
    11271127        <p class="community-events-footer">
    11281128                <a href="https://make.wordpress.org/community/meetups-landing-page" target="_blank">
    1129                         <?php _e( 'Meetups' ); ?> <span class="dashicons dashicons-external"></span>
     1129                        <?php _e( 'Meetups' ); ?> <span aria-hidden="true" class="dashicons dashicons-external"></span>
     1130                        <span class="screen-reader-text"><?php
     1131                                /* translators: accessibility text */
     1132                                _e( '(opens in a new window)' );
     1133                        ?></span>
    11301134                </a>
    11311135
    11321136                |
    11331137
    11341138                <a href="https://central.wordcamp.org/schedule/" target="_blank">
    1135                         <?php _e( 'WordCamps' ); ?> <span class="dashicons dashicons-external"></span>
     1139                        <?php _e( 'WordCamps' ); ?> <span aria-hidden="true" class="dashicons dashicons-external"></span>
     1140                        <span class="screen-reader-text"><?php
     1141                                /* translators: accessibility text */
     1142                                _e( '(opens in a new window)' );
     1143                        ?></span>
    11361144                </a>
    11371145
    11381146                |
     
    11391147
    11401148                <?php // translators: If a Rosetta site exists (e.g. https://es.wordpress.org/news/), then use that. Otherwise, leave untranslated. ?>
    11411149                <a href="<?php _e( 'https://wordpress.org/news/' ); ?>" target="_blank">
    1142                         <?php _e( 'News' ); ?> <span class="dashicons dashicons-external"></span>
     1150                        <?php _e( 'News' ); ?> <span aria-hidden="true" class="dashicons dashicons-external"></span>
     1151                        <span class="screen-reader-text"><?php
     1152                                /* translators: accessibility text */
     1153                                _e( '(opens in a new window)' );
     1154                        ?></span>
    11431155                </a>
    11441156        </p>
    11451157
  • src/wp-admin/includes/meta-boxes.php

     
    5858$preview_button = sprintf( '%1$s<span class="screen-reader-text"> %2$s</span>',
    5959        $preview_button_text,
    6060        /* translators: accessibility text */
    61         __( '(link opens in a new window)' )
     61        __( '(opens in a new window)' )
    6262);
    6363?>
    6464<a class="preview button" href="<?php echo $preview_link; ?>" target="wp-preview-<?php echo (int) $post->ID; ?>" id="post-preview"><?php echo $preview_button; ?></a>
  • src/wp-includes/class-wp-customize-manager.php

     
    41444144                                __( 'CSS allows you to customize the appearance and layout of your site with code. Separate CSS is saved for each of your themes. In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key.' ),
    41454145                                esc_url( __( 'https://codex.wordpress.org/CSS' ) ),
    41464146                                __( 'Learn more about CSS' ),
    4147                                 __( '(link opens in a new window)' )
     4147                                /* translators: accessibility text */
     4148                                __( '(opens in a new window)' )
    41484149                        ),
    41494150                ) );
    41504151