WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/09/2017 11:00:39 PM (8 months ago)
Author:
westonruter
Message:

Customize: Improve keyboard accessibility for publish settings section.

Props sayedwp.
See #39896.
Fixes #42027.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r41797 r41802  
    37713771                    <span class="screen-reader-text"><?php _e( '(opens in a new window)' ); ?></span>
    37723772                </a>
    3773                 <input id="{{ elementPrefix }}customize-preview-link-input" readonly class="preview-control-element" data-component="input">
     3773                <input id="{{ elementPrefix }}customize-preview-link-input" readonly tabindex="-1" class="preview-control-element" data-component="input">
    37743774                <button class="customize-copy-preview-link preview-control-element button button-secondary" data-component="button" data-copy-text="<?php esc_attr_e( 'Copy' ); ?>" data-copied-text="<?php esc_attr_e( 'Copied' ); ?>" ><?php esc_html_e( 'Copy' ); ?></button>
    37753775            </div>
Note: See TracChangeset for help on using the changeset viewer.