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-accessibility.php

    r8159 r9328  
    3232
    3333        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    34             <header class="entry-header">
     34            <header class="entry-header row">
    3535                <h1 class="entry-title col-8"><?php the_title(); ?></h1>
    3636            </header><!-- .entry-header -->
     
    6262                    </p>
    6363
    64                     <h3><?php esc_html_e( 'The Accessibility Team', 'wporg' ); ?></h3>
     64                    <h2><?php esc_html_e( 'The Accessibility Team', 'wporg' ); ?></h2>
    6565                    <p>
    6666                    <?php
     
    9797                    </p>
    9898
    99                     <h3>
     99                    <h2>
    100100                        <?php
    101101                        /* translators: ATAG: Authoring Tool Accessibility Guidelines; https://www.w3.org/TR/ATAG20/ */
    102102                        esc_html_e( 'ATAG Statement', 'wporg' );
    103103                        ?>
    104                     </h3>
     104                    </h2>
    105105                    <p>
    106106                        <?php
Note: See TracChangeset for help on using the changeset viewer.