Make WordPress Core


Ignore:
Timestamp:
01/08/2014 09:34:03 PM (12 years ago)
Author:
nacin
Message:

Keyboard navigation friendliness for themes.php.

props matveb, azaozz, jorbin.
see #26527.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/themes.php

    r26853 r26922  
    193193
    194194foreach ( $themes as $theme ) : ?>
    195 <div class="theme<?php if ( $theme['active'] ) echo ' active'; ?>">
     195<div class="theme<?php if ( $theme['active'] ) echo ' active'; ?>" tabindex="0">
    196196    <?php if ( ! empty( $theme['screenshot'][0] ) ) { ?>
    197197        <div class="theme-screenshot">
     
    310310    <div class="theme-wrap">
    311311        <div class="theme-header">
    312             <div alt="<?php _e( 'Close overlay' ); ?>" class="close dashicons dashicons-no"></div>
    313             <div alt="<?php _e( 'Show previous theme' ); ?>" class="left dashicons dashicons-no"></div>
    314             <div alt="<?php _e( 'Show next theme' ); ?>" class="right dashicons dashicons-no"></div>
     312            <button alt="<?php _e( 'Show previous theme' ); ?>" class="left dashicons dashicons-no"></button>
     313            <button alt="<?php _e( 'Show next theme' ); ?>" class="right dashicons dashicons-no"></button>
     314            <button alt="<?php _e( 'Close overlay' ); ?>" class="close dashicons dashicons-no"></button>
    315315        </div>
    316316        <div class="theme-about">
Note: See TracChangeset for help on using the changeset viewer.