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

    r8726 r9328  
    3434
    3535        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    36             <header class="entry-header">
     36            <header class="entry-header row">
    3737                <h1 class="entry-title col-8"><?php the_title(); ?></h1>
    3838            </header><!-- .entry-header -->
     
    4040            <div class="entry-content row">
    4141                <section class="col-8">
    42                     <h3><?php esc_html_e( 'To run WordPress we recommend your host supports:', 'wporg' ); ?></h3>
     42                    <h2 class="h3"><?php esc_html_e( 'To run WordPress we recommend your host supports:', 'wporg' ); ?></h2>
    4343
    4444                    <ul>
     
    8181                    </p>
    8282
    83                     <h3><?php esc_html_e( 'Ask for it', 'wporg' ); ?></h3>
     83                    <h2><?php esc_html_e( 'Ask for it', 'wporg' ); ?></h2>
    8484
    8585                    <p><?php esc_html_e( 'Here&#8217;s a letter you can send to your host; copy and paste!', 'wporg' ); ?></p>
     
    108108                    </blockquote>
    109109
    110                     <h3><?php esc_html_e( 'Not required, but recommended for better security', 'wporg' ); ?></h3>
     110                    <h2 class="h3"><?php esc_html_e( 'Not required, but recommended for better security', 'wporg' ); ?></h2>
    111111
    112112                    <p><?php esc_html_e( 'Hosting is more secure when PHP applications, like WordPress, are run using your account&#8217;s username instead of the server&#8217;s default shared username. Ask your potential host what steps they take to ensure the security of your account.', 'wporg' ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.