Accessibility: Fix the headings hierarchy on the Freedoms page.
Props ryelle, afercia. Fixes #49838. Built from https://develop.svn.wordpress.org/trunk@47558 git-svn-id: http://core.svn.wordpress.org/trunk@47333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
856e1a27b8
commit
f927fdedb4
|
@ -318,7 +318,8 @@
|
|||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.about__container h3 {
|
||||
.about__container h3,
|
||||
.about__container h2.is-smaller-heading {
|
||||
margin-top: 0;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -317,7 +317,8 @@
|
|||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.about__container h3 {
|
||||
.about__container h3,
|
||||
.about__container h2.is-smaller-heading {
|
||||
margin-top: 0;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -64,22 +64,22 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
|||
<div class="about__section has-4-columns">
|
||||
<div class="column">
|
||||
<div class="freedoms-image"></div>
|
||||
<h3><?php _e( 'The 1st Freedom' ); ?></h3>
|
||||
<h2 class="is-smaller-heading"><?php _e( 'The 1st Freedom' ); ?></h2>
|
||||
<p><?php _e( 'To run the program for any purpose.' ); ?></p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="freedoms-image"></div>
|
||||
<h3><?php _e( 'The 2nd Freedom' ); ?></h3>
|
||||
<h2 class="is-smaller-heading"><?php _e( 'The 2nd Freedom' ); ?></h2>
|
||||
<p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="freedoms-image"></div>
|
||||
<h3><?php _e( 'The 3rd Freedom' ); ?></h3>
|
||||
<h2 class="is-smaller-heading"><?php _e( 'The 3rd Freedom' ); ?></h2>
|
||||
<p><?php _e( 'To redistribute.' ); ?></p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="freedoms-image"></div>
|
||||
<h3><?php _e( 'The 4th Freedom' ); ?></h3>
|
||||
<h2 class="is-smaller-heading"><?php _e( 'The 4th Freedom' ); ?></h2>
|
||||
<p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-alpha-47557';
|
||||
$wp_version = '5.5-alpha-47558';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue