Make WordPress Core


Ignore:
Timestamp:
02/01/2020 09:36:44 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Accessibility: Text Changes: Use sentence case for the word Error in various error messages, instead of all caps.

Using all caps should be avoided for better readability and because screen readers may pronounce all-caps words as abbreviations.

Props afercia, ryokuhi, sabernhardt, garrett-eclipse.
See #47656, #43037, #42945.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/users.php

    r47122 r47156  
    275275        <?php if ( isset( $_REQUEST['error'] ) ) : ?>
    276276    <div class="error">
    277         <p><strong><?php _e( 'ERROR:' ); ?></strong> <?php _e( 'Please select an option.' ); ?></p>
     277        <p><strong><?php _e( 'Error:' ); ?></strong> <?php _e( 'Please select an option.' ); ?></p>
    278278    </div>
    279279        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.