Make WordPress Core


Ignore:
Timestamp:
10/10/2015 04:33:33 PM (10 years ago)
Author:
afercia
Message:

Accessibility: bump headings one level up on the Appearance > Widgets screen for a better headings hierarchy.

Props mrahmadawais, afercia.
Fixes #33659.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/widgets.php

    r34827 r35015  
    8282        <div class="sidebar-name">
    8383            <div class="sidebar-name-arrow"><br /></div>
    84             <h3><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h3>
     84            <h2><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h2>
    8585        </div>
    8686        <?php
     
    227227        </a>
    228228    </div>
    229     <div class="widget-title"><h4><?php echo $widget_title ?><span class="in-widget-title"></span></h4></div>
     229    <div class="widget-title"><h3><?php echo $widget_title; ?><span class="in-widget-title"></span></h3></div>
    230230    </div>
    231231
Note: See TracChangeset for help on using the changeset viewer.