Make WordPress Core

Ticket #38707: 38707.diff

File 38707.diff, 1.2 KB (added by mrahmadawais, 9 years ago)

ADD: Use KBD to show User Keyboard Input Keys

  • src/wp-includes/class-wp-customize-manager.php

    diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php
    index cead2d0ce9..d346bbd7c2 100644
    a b final class WP_Customize_Manager {  
    42144214
    42154215                $section_description .= '<p>' . __( 'When using a keyboard to navigate:', 'better-code-editing' ) . '</p>';
    42164216                $section_description .= '<ul>';
    4217                 $section_description .= '<li>' . __( 'In the CSS edit field, Tab enters a tab character.', 'better-code-editing' ) . '</li>';
    4218                 $section_description .= '<li>' . __( 'To move keyboard focus, press Esc then Tab for the next element, or Esc then Shift+Tab for the previous element.', 'better-code-editing' ) . '</li>';
     4217                $section_description .= '<li>' . __( 'In the CSS edit field, <kbd>Tab</kbd> enters a tab character.', 'better-code-editing' ) . '</li>';
     4218                $section_description .= '<li>' . __( 'To move keyboard focus, press <kbd>Esc</kbd> then <kbd>Tab</kbd> for the next element, or <kbd>Esc</kbd> then <kbd>Shift</kbd>+<kbd>Tab</kbd> for the previous element.', 'better-code-editing' ) . '</li>';
    42194219                $section_description .= '</ul>';
    42204220
    42214221                if ( 'false' !== wp_get_current_user()->syntax_highlighting ) {