Make WordPress Core


Ignore:
Timestamp:
02/04/2015 03:45:24 AM (10 years ago)
Author:
helen
Message:

Accessibility: remove remaining instances of accesskey.

It is a poorly implemented browser feature, not particularly discoverable, and causes more problems than it helps solve.

props afercia.
fixes #29715.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r31308 r31331  
    13291329    ?>
    13301330        <p class="submit inline-edit-save">
    1331             <a accesskey="c" href="#inline-edit" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a>
     1331            <a href="#inline-edit" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a>
    13321332            <?php if ( ! $bulk ) {
    13331333                wp_nonce_field( 'inlineeditnonce', '_inline_edit', false );
    13341334                ?>
    1335                 <a accesskey="s" href="#inline-edit" class="button-primary save alignright"><?php _e( 'Update' ); ?></a>
     1335                <a href="#inline-edit" class="button-primary save alignright"><?php _e( 'Update' ); ?></a>
    13361336                <span class="spinner"></span>
    13371337            <?php } else {
    1338                 submit_button( __( 'Update' ), 'button-primary alignright', 'bulk_edit', false, array( 'accesskey' => 's' ) );
     1338                submit_button( __( 'Update' ), 'button-primary alignright', 'bulk_edit', false );
    13391339            } ?>
    13401340            <input type="hidden" name="post_view" value="<?php echo esc_attr( $m ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.