Make WordPress Core


Ignore:
Timestamp:
10/10/2015 04:33:33 PM (9 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/widgets.php

    r34714 r35015  
    245245    <h1><?php echo esc_html( $title ); ?></h1>
    246246    <div class="editwidget"<?php echo $width; ?>>
    247     <h3><?php printf( __( 'Widget %s' ), $name ); ?></h3>
     247    <h2><?php printf( __( 'Widget %s' ), $name ); ?></h2>
    248248
    249249    <form action="widgets.php" method="post">
     
    362362        <div class="sidebar-name">
    363363            <div class="sidebar-name-arrow"><br /></div>
    364             <h3><?php _e('Available Widgets'); ?> <span id="removing-widget"><?php _ex('Deactivate', 'removing-widget'); ?> <span></span></span></h3>
     364            <h2><?php _e( 'Available Widgets' ); ?> <span id="removing-widget"><?php _ex( 'Deactivate', 'removing-widget' ); ?> <span></span></span></h2>
    365365        </div>
    366366        <div class="widget-holder">
Note: See TracChangeset for help on using the changeset viewer.