Make WordPress Core

Changeset 47558


Ignore:
Timestamp:
04/09/2020 04:07:19 PM (4 years ago)
Author:
afercia
Message:

Accessibility: Fix the headings hierarchy on the Freedoms page.

Props ryelle, afercia.
Fixes #49838.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/about.css

    r47532 r47558  
    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;
  • trunk/src/wp-admin/freedoms.php

    r47521 r47558  
    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.