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

    r8112 r9328  
    112112
    113113        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    114             <header class="entry-header">
     114            <header class="entry-header row">
    115115                <h1 class="entry-title col-8"><?php the_title(); ?></h1>
    116116            </header><!-- .entry-header -->
     
    118118            <div class="entry-content row">
    119119                <section class="col-8">
    120                     <h3><?php esc_html_e( 'Share your WordPress story', 'wporg' ); ?></h3>
     120                    <h2><?php esc_html_e( 'Share your WordPress story', 'wporg' ); ?></h2>
    121121                    <p><?php esc_html_e( 'Want to have your story featured on this page?', 'wporg' ); ?></p>
    122122                    <p>
     
    137137                </section>
    138138
    139                 <section class="col-10" id="embeds"></section>
     139                <section class="col-12">
     140                    <div class="row">
     141                        <div class="offset-2 col-8">
     142                            <h2><?php esc_html_e( 'WordPress on Twitter', 'wporg' ); ?></h2>
     143                        </div>
     144                    </div>
     145                    <div class="row">
     146                        <div class="col-10">   
     147                            <div  id="embeds"></div>
     148                        </div>
     149                    </div>
     150                </section>
    140151            </div><!-- .entry-content -->
    141152        </article><!-- #post-## -->
Note: See TracChangeset for help on using the changeset viewer.