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-logos.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 -->
     
    3838            <div class="entry-content row">
    3939                <section class="col-8">
    40                     <h3 class="graphics"><?php esc_html_e( 'Official WordPress Logo', 'wporg' ); ?></h3>
     40                    <h2><?php esc_html_e( 'Official WordPress Logo', 'wporg' ); ?></h2>
    4141                    <p>
    4242                        <?php
     
    4646                    </p>
    4747
    48                     <h3 class="graphics"><?php esc_html_e( 'Downloads', 'wporg' ); ?></h3>
     48                    <h2><?php esc_html_e( 'Downloads', 'wporg' ); ?></h2>
    4949
    5050                    <section class="all-logos col-12 row gutters">
     
    125125                    </section>
    126126
    127                     <h3 class="graphics"><?php esc_html_e( 'Fight the Fake Logo (Fauxgo)', 'wporg' ); ?></h3>
     127                    <h2><?php esc_html_e( 'Fight the Fake Logo (Fauxgo)', 'wporg' ); ?></h2>
    128128                    <p><?php esc_html_e( 'Friends don&#8217;t let friends use the wrong WordPress logo. If you see one of these in the wild, please suggest a change.', 'wporg' ); ?></p>
    129129                    <img class="aligncenter" src="//s.w.org/about/images/logo-comparison.png" width="500" />
Note: See TracChangeset for help on using the changeset viewer.