Make WordPress Core

Changeset 47566 for branches/5.4


Ignore:
Timestamp:
04/10/2020 02:54:46 AM (6 years ago)
Author:
whyisjake
Message:

Accessibility: Fix the headings hierarchy on the Freedoms page.

Props ryelle, afercia.
Bring r47558 to the 5.4 branch.

Fixes #49838.

Location:
branches/5.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/5.4

  • branches/5.4/src/wp-admin/css/about.css

    r47533 r47566  
    318318}
    319319
    320 .about__container h3 {
     320.about__container h3,
     321.about__container h2.is-smaller-heading {
    321322        margin-top: 0;
    322323        font-size: 1em;
  • branches/5.4/src/wp-admin/freedoms.php

    r47522 r47566  
    6565                <div class="column">
    6666                        <div class="freedoms-image"></div>
    67                         <h3><?php _e( 'The 1st Freedom' ); ?></h3>
     67                        <h2 class="is-smaller-heading"><?php _e( 'The 1st Freedom' ); ?></h2>
    6868                        <p><?php _e( 'To run the program for any purpose.' ); ?></p>
    6969                </div>
    7070                <div class="column">
    7171                        <div class="freedoms-image"></div>
    72                         <h3><?php _e( 'The 2nd Freedom' ); ?></h3>
     72                        <h2 class="is-smaller-heading"><?php _e( 'The 2nd Freedom' ); ?></h2>
    7373                        <p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
    7474                </div>
    7575                <div class="column">
    7676                        <div class="freedoms-image"></div>
    77                         <h3><?php _e( 'The 3rd Freedom' ); ?></h3>
     77                        <h2 class="is-smaller-heading"><?php _e( 'The 3rd Freedom' ); ?></h2>
    7878                        <p><?php _e( 'To redistribute.' ); ?></p>
    7979                </div>
    8080                <div class="column">
    8181                        <div class="freedoms-image"></div>
    82                         <h3><?php _e( 'The 4th Freedom' ); ?></h3>
     82                        <h2 class="is-smaller-heading"><?php _e( 'The 4th Freedom' ); ?></h2>
    8383                        <p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p>
    8484                </div>
Note: See TracChangeset for help on using the changeset viewer.