Make WordPress Core


Ignore:
Timestamp:
04/01/2015 01:16:47 PM (10 years ago)
Author:
ocean90
Message:

Accessibility: Add landmark roles to WordPress admin areas.

props afercia, joedolson.
fixes #31450.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/menu-header.php

    r31364 r31955  
    220220?>
    221221
     222<div id="adminmenumain" role="navigation" aria-label="<?php esc_attr_e( 'Main menu' ); ?>">
     223<a href="#wpbody-content" class="screen-reader-shortcut"><?php _e( 'Skip to main content' ); ?></a>
     224<a href="#wp-toolbar" class="screen-reader-shortcut"><?php _e( 'Skip to toolbar' ); ?></a>
    222225<div id="adminmenuback"></div>
    223226<div id="adminmenuwrap">
    224 <ul id="adminmenu" role="navigation">
     227<ul id="adminmenu">
    225228
    226229<?php
     
    237240</ul>
    238241</div>
     242</div>
Note: See TracChangeset for help on using the changeset viewer.