Changeset 41227
- Timestamp:
- 08/03/2017 10:12:01 PM (7 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/nav-menus.css
r41197 r41227 582 582 width: 30px; 583 583 height: 40px; 584 margin-right: 0 !important;585 text-indent: 100%;586 584 outline: none; 587 overflow: hidden;588 white-space: nowrap;589 585 } 590 586 … … 594 590 width: auto; 595 591 height: auto; 596 margin -right: -10px !important;597 padding: 12px0;592 margin: 12px -10px 12px 0; 593 padding: 0; 598 594 color: #0073aa; 599 595 text-decoration: underline; 600 596 font-size: 12px; 601 597 line-height: 18px; 602 text-indent: 0; 598 } 599 600 .no-js.nav-menus-php .item-edit .screen-reader-text { 601 position: static; 602 width: auto; 603 height: auto; 604 margin: 0; 603 605 } 604 606 … … 619 621 } 620 622 621 . nav-menus-php .item-edit:focus {623 .js.nav-menus-php .item-edit:focus { 622 624 box-shadow: none; 623 625 } -
trunk/src/wp-admin/includes/class-walker-nav-menu-edit.php
r40988 r41227 146 146 <a class="item-edit" id="edit-<?php echo $item_id; ?>" href="<?php 147 147 echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? admin_url( 'nav-menus.php' ) : add_query_arg( 'edit-menu-item', $item_id, remove_query_arg( $removed_args, admin_url( 'nav-menus.php#menu-item-settings-' . $item_id ) ) ); 148 ?>" aria-label="<?php esc_attr_e( 'Edit menu item' ); ?>">< ?php _e( 'Edit' ); ?></a>148 ?>" aria-label="<?php esc_attr_e( 'Edit menu item' ); ?>"><span class="screen-reader-text"><?php _e( 'Edit' ); ?></span></a> 149 149 </span> 150 150 </div> -
trunk/src/wp-admin/js/nav-menu.js
r39928 r41227 501 501 } 502 502 503 // @todo Consider to update just the `aria-label` attribute. 504 $this.attr( 'aria-label', title ).text( title ); 503 $this.attr( 'aria-label', title ); 505 504 506 505 // Mark this item's accessibility as refreshed
Note: See TracChangeset
for help on using the changeset viewer.