Changeset 21423 for trunk/wp-includes/class-wp-admin-bar.php
- Timestamp:
- 08/05/2012 06:41:52 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/class-wp-admin-bar.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-admin-bar.php
r21259 r21423 349 349 ?> 350 350 <div id="wpadminbar" class="<?php echo $class; ?>" role="navigation"> 351 <div class="quicklinks"> 351 <a id="wpadminbar-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 353 <?php foreach ( $root->children as $group ) { 353 354 $this->_render_group( $group ); … … 396 397 $has_link = ! empty( $node->href ); 397 398 398 $tabindex = isset( $node->meta['tabindex'] ) ? (int) $node->meta['tabindex'] : 10; 399 $tabindex = isset( $node->meta['tabindex'] ) ? (int) $node->meta['tabindex'] : ''; 400 $aria_attributes = $tabindex ? 'tabindex="' . $tabindex . '"' : ''; 399 401 400 402 $menuclass = ''; 401 $aria_attributes = 'tabindex="' . $tabindex . '"';402 403 403 404 if ( $is_parent ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)