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-features.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 -->
     
    198198                    </ul>
    199199
    200                     <h3 id="developer"><?php echo esc_html_x( 'Developer Features', 'Features page: Section Header', 'wporg' ); ?></h3>
     200                    <h2 id="developer" ><?php echo esc_html_x( 'Developer Features', 'Features page: Section Header', 'wporg' ); ?></h2>
    201201                    <p><?php esc_html_e( 'For developers, we&#8217;ve got lots of goodies packed under the hood that you can use to extend WordPress in whatever direction takes your fancy.', 'wporg' ); ?></p>
    202202
Note: See TracChangeset for help on using the changeset viewer.