Accessibility: Add landmark roles to WordPress admin areas.

props afercia, joedolson.
fixes #31450.

git-svn-id: https://develop.svn.wordpress.org/trunk@31955 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90)
2015-04-01 13:16:47 +00:00
parent b194676876
commit 14dc44fb83
4 changed files with 12 additions and 7 deletions

View File

@@ -190,7 +190,6 @@ if ( current_user_can( 'customize' ) ) {
?>
<div id="wpwrap">
<a tabindex="1" href="#wpbody-content" class="screen-reader-shortcut"><?php _e('Skip to main content'); ?></a>
<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
<div id="wpcontent">
@@ -203,7 +202,7 @@ if ( current_user_can( 'customize' ) ) {
do_action( 'in_admin_header' );
?>
<div id="wpbody">
<div id="wpbody" role="main">
<?php
unset($title_class, $blog_name, $total_update_count, $update_title);