Making WordPress.org


Ignore:
Timestamp:
12/11/2019 07:47:00 AM (5 years ago)
Author:
tellyworth
Message:

Main theme: fix headings hierarchy in About section

This is the markup following r9327, to fix the headings hierarchy for better SEO and accessibility.

Props dufresnesteven, afercia.
Fixes #4120.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about.php

    r7350 r9328  
    3434            <div class="entry-content row">
    3535                <section class="col-8">
    36                     <h2 id="mission"><?php esc_html_e( 'Our Mission', 'wporg' ); ?></h2>
     36                    <h2 class="h1" id="mission"><?php esc_html_e( 'Our Mission', 'wporg' ); ?></h2>
    3737                    <p><?php esc_html_e( 'WordPress is software designed for everyone, emphasizing accessibility, performance, security, and ease of use. We believe great software should work with minimum set up, so you can focus on sharing your story, product, or services freely. The basic WordPress software is simple and predictable so you can easily get started. It also offers powerful features for growth and success.', 'wporg' ); ?></p>
    3838                    <p>
     
    9797
    9898                <section class="col-8">
    99                     <h2 id="story"><?php esc_html_e( 'Our Story', 'wporg' ); ?></h2>
     99                    <h2 class="h1" id="story"><?php esc_html_e( 'Our Story', 'wporg' ); ?></h2>
    100100                    <p>
    101101                        <?php
     
    108108
    109109                <section class="col-8">
    110                     <h2 id="bill-of-rights"><?php esc_html_e( 'Bill of Rights', 'wporg' ); ?></h2>
     110                    <h2 class="h1" id="bill-of-rights"><?php esc_html_e( 'Bill of Rights', 'wporg' ); ?></h2>
    111111                    <p>
    112112                        <?php
Note: See TracChangeset for help on using the changeset viewer.