Ticket #21471: 21471.2.diff
File 21471.2.diff, 1.8 KB (added by , 12 years ago) |
---|
-
wp-includes/js/admin-bar.js
66 66 e.preventDefault(); 67 67 $('html, body').animate({ scrollTop: 0 }, 'fast'); 68 68 }); 69 70 $('.screen-reader-shortcut').keydown(function (e) { 71 var thisHref = $(this).attr('href'); 72 if ( 13 == e.which && thisHref.substring(0, 1) == "#" ) { 73 setTimeout(function () { 74 $(thisHref).focus(); 75 }, 100); 76 } 77 }); 69 78 70 79 }); 71 80 } else { -
wp-includes/class-wp-admin-bar.php
349 349 ?> 350 350 <div id="wpadminbar" class="<?php echo $class; ?>" role="navigation"> 351 351 <a class="screen-reader-text screen-reader-shortcut" href="#wp-toolbar" tabindex="1"><?php _e('Skip to toolbar'); ?></a> 352 <div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="<?php esc_attr_e('Top navigation toolbar.'); ?>" >352 <div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="<?php esc_attr_e('Top navigation toolbar.'); ?>" tabindex="0"> 353 353 <?php foreach ( $root->children as $group ) { 354 354 $this->_render_group( $group ); 355 355 } ?> -
wp-admin/admin-header.php
126 126 127 127 ?> 128 128 129 <div id="wpbody-content" aria-label="<?php esc_attr_e('Main content'); ?>" >129 <div id="wpbody-content" aria-label="<?php esc_attr_e('Main content'); ?>" tabindex="0"> 130 130 <?php 131 131 132 132 $current_screen->render_screen_meta();