Making WordPress.org


Ignore:
Timestamp:
04/10/2024 04:04:23 AM (14 months ago)
Author:
adamwood
Message:

wporg-support-2024: Fix headings hierarchy

Updates the sidebar headings to h2 and h3 to correct the headings hierarchy

See https://meta.trac.wordpress.org/ticket/4117

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sidebar.php

    r13455 r13485  
    4343            <div>
    4444                <?php bbp_topic_tag_list( 0, array(
    45                     'before' => '<h4>' . __( 'Tags', 'wporg-forums' ) . '</h4><ul class="topic-tags"><li class="tag">',
     45                    'before' => '<h2>' . __( 'Tags', 'wporg-forums' ) . '</h2><ul class="topic-tags"><li class="tag">',
    4646                    'after'  => '</li></ul>',
    4747                    'sep'    => '</li><li class="tag">',
     
    6060                    <?php bbp_topic_admin_links( array (
    6161                        'id'     => bbp_get_topic_id(),
    62                         'before' => '<h4>' . __( 'Admin', 'wporg-forums' ) . '</h4><ul class="topic-admin-links"><li>',
     62                        'before' => '<h2>' . __( 'Admin', 'wporg-forums' ) . '</h2><ul class="topic-admin-links"><li>',
    6363                        'after'  => '</li></ul>',
    6464                        'sep'    => '</li><li>',
     
    8686
    8787            <div>
    88                 <h4><?php _e( 'Topics', 'wporg-forums' ); ?></h4>
     88                <h2><?php _e( 'Topics', 'wporg-forums' ); ?></h2>
    8989
    9090                <?php echo do_blocks(
     
    103103
    104104            <div>
    105                 <h4><?php _e( 'Feeds', 'wporg-forums' ); ?></h4>
     105                <h2><?php _e( 'Feeds', 'wporg-forums' ); ?></h2>
    106106                <ul class="forum-feeds">
    107107                    <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/"><?php _e( 'RSS Recent Posts', 'wporg-forums' ); ?></a></li>
Note: See TracChangeset for help on using the changeset viewer.