Make WordPress Core


Ignore:
Timestamp:
11/06/2012 02:47:25 PM (13 years ago)
Author:
nacin
Message:

Keyboard accessibility for the theme customizer. props lessbloat, jorbin, JustinSainton. fixes #21283.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/customize.php

    r22019 r22400  
    6868<div class="wp-full-overlay expanded">
    6969    <form id="customize-controls" class="wrap wp-full-overlay-sidebar">
     70       
    7071        <div id="customize-header-actions" class="wp-full-overlay-header">
    7172            <?php
    7273                $save_text = $wp_customize->is_theme_active() ? __( 'Save &amp; Publish' ) : __( 'Save &amp; Activate' );
    73                 submit_button( $save_text, 'primary', 'save', false );
     74                submit_button( $save_text, 'primary save', 'save', false );
    7475            ?>
    7576            <span class="spinner"></span>
     
    7879            </a>
    7980        </div>
    80 
     81       
    8182        <?php
    8283            $screenshot = $wp_customize->theme()->get_screenshot();
     
    8485        ?>
    8586
    86         <div class="wp-full-overlay-sidebar-content">
     87        <div class="wp-full-overlay-sidebar-content" tabindex="-1">
    8788            <div id="customize-info" class="customize-section<?php if ( $cannot_expand ) echo ' cannot-expand'; ?>">
    88                 <div class="customize-section-title">
     89                <div class="customize-section-title" aria-label="<?php esc_attr_e( 'Theme Customizer Options' ); ?>" tabindex="0">
    8990                    <span class="preview-notice"><?php
    9091                        /* translators: %s is the theme name in the Customize/Live Preview pane */
Note: See TracChangeset for help on using the changeset viewer.