WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/18/2020 03:30:10 PM (14 months ago)
Author:
afercia
Message:

Accessibility: Improve readability by removing unnecessary italic font style.

Per Web Content Accessibility Guidelines 2.0, big chunks of italic text should be avoided.
Same applies to UI controls, since they're meant to be comfortably readable by the largest possible audience, e.g.: label elements.

Removes italic font style from:

  • the Quick Edit / Bulk Edit forms
  • the Recovery Mode plugin error details
  • the Image Editor inline help

Props birgire, audrasjb, SergeyBiryukov, melchoyce, estelaris, sabernhardt, xkon, nrqsnchz, afercia.
See #47327.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r47233 r47304  
    16091609                        </label>
    16101610
    1611                         <em class="alignleft inline-edit-or">
     1611                        <span class="alignleft inline-edit-or">
    16121612                            <?php
    16131613                            /* translators: Between password field and private checkbox on post quick edit interface. */
    16141614                            _e( '&ndash;OR&ndash;' );
    16151615                            ?>
    1616                         </em>
     1616                        </span>
    16171617                        <label class="alignleft inline-edit-private">
    16181618                            <input type="checkbox" name="keep_private" value="private" />
Note: See TracChangeset for help on using the changeset viewer.