Making WordPress.org


Ignore:
Timestamp:
12/11/2019 07:47:00 AM (7 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-stats.php

    r7362 r9328  
    3737
    3838                        <div class="entry-content row">
    39                                 <section class="col-8">
     39                                <div class="col-8">
    4040                                        <p><?php esc_html_e( 'Here are some charts showing what sorts of systems people are running WordPress on. (You&#8217;ll need JavaScript enabled to see them.)', 'wporg' ); ?></p>
    41                                         <div id="wp_versions" class="wporg-stats-chart loading"></div>
    42                                         <div id="php_versions" class="wporg-stats-chart loading"></div>
    43                                         <div id="mysql_versions" class="wporg-stats-chart loading"></div>
    44                                         <div id="locales" class="wporg-stats-chart loading"></div>
     41                                        <section>
     42                                                <h2><?php esc_html_e( 'WordPress Version', 'wporg' ); ?></h2>
     43                                                <div id="wp_versions" class="wporg-stats-chart loading"></div>
     44                                        </section>
     45                                        <section>
     46                                                <h2><?php esc_html_e( 'PHP Versions', 'wporg' ); ?></h2>
     47                                                <div id="php_versions" class="wporg-stats-chart loading"></div>
     48                                        </section>
     49                                        <section>
     50                                                <h2><?php esc_html_e( 'MySQL Version', 'wporg' ); ?></h2>
     51                                                <div id="mysql_versions" class="wporg-stats-chart loading"></div>
     52                                        </section>
     53                                        <section>
     54                                                <h2><?php esc_html_e( 'Locales', 'wporg' ); ?></h2>
     55                                                <div id="locales" class="wporg-stats-chart loading"></div>
     56                                        </section>
    4557                                </section>
    4658                        </div><!-- .entry-content -->
Note: See TracChangeset for help on using the changeset viewer.