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-includes/class-wp-customize-control.php

    r22030 r22400  
    522522
    523523            <div class="customize-control-content">
    524                 <div class="dropdown preview-thumbnail">
     524                <div class="dropdown preview-thumbnail" tabindex="0">
    525525                    <div class="dropdown-content">
    526526                        <?php if ( empty( $src ) ): ?>
     
    538538                <ul>
    539539                    <?php foreach ( $this->tabs as $id => $tab ): ?>
    540                         <li data-customize-tab='<?php echo esc_attr( $id ); ?>'>
     540                        <li data-customize-tab='<?php echo esc_attr( $id ); ?>' tabindex='0'>
    541541                            <?php echo esc_html( $tab['label'] ); ?>
    542542                        </li>
Note: See TracChangeset for help on using the changeset viewer.