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/tests/phpunit/includes/trac.php

    r47122 r47156  
    4848    public static function usingLocalCache() {
    4949        echo PHP_EOL . "\x1b[0m\x1b[30;43m\x1b[2K";
    50         echo 'INFO: Trac was inaccessible, so a local ticket status cache was used.' . PHP_EOL;
     50        echo 'Info: Trac was inaccessible, so a local ticket status cache was used.' . PHP_EOL;
    5151        echo "\x1b[0m\x1b[2K";
    5252    }
     
    5555    public static function forcingKnownBugs() {
    5656        echo PHP_EOL . "\x1b[0m\x1b[37;41m\x1b[2K";
    57         echo "ERROR: Trac was inaccessible, so known bugs weren't able to be skipped." . PHP_EOL;
     57        echo "Error: Trac was inaccessible, so known bugs weren't able to be skipped." . PHP_EOL;
    5858        echo "\x1b[0m\x1b[2K";
    5959    }
Note: See TracChangeset for help on using the changeset viewer.