Make WordPress Core


Ignore:
Timestamp:
10/13/2015 06:56:48 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Accessibility: bump headings one level up in post meta boxes for a better headings hierarchy.

Props afercia, joedolson, wonderboymusic.
See #33557.

File:
1 edited

Legend:

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

    r35005 r35128  
    10071007                                                echo '</button>';
    10081008                                        }
    1009                                         echo "<h3 class='hndle'><span>{$box['title']}</span></h3>\n";
     1009                                        echo "<h2 class='hndle'><span>{$box['title']}</span></h2>\n";
    10101010                                        echo '<div class="inside">' . "\n";
    10111011                                        call_user_func($box['callback'], $object, $box);
Note: See TracChangeset for help on using the changeset viewer.