WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/23/2012 10:00:06 PM (8 years ago)
Author:
azaozz
Message:

Add "Skip to content" link to all screens in the admin, fixes #21361

File:
1 edited

Legend:

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

    r21010 r21305  
    108108
    109109<div id="wpwrap">
     110<a id="wpbody-content-shortcut" tabindex="5" href="#wpbody-content" class="hide-if-no-js screen-reader-text"><?php _e('Skip to main content'); ?></a>
    110111<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
    111112<div id="wpcontent">
     
    123124?>
    124125
    125 <div id="wpbody-content">
     126<div id="wpbody-content" tabindex="-1" aria-label="<?php esc_attr_e('Main content'); ?>">
    126127<?php
    127128
Note: See TracChangeset for help on using the changeset viewer.