Make WordPress Core


Ignore:
Timestamp:
03/30/2015 03:08:30 AM (12 years ago)
Author:
azaozz
Message:

Press This: fix accessibility for the post options "sidebar". Fix size of the Add Category button.
Part props afercis, joedolson. Fixes #31575.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r31907 r31925  
    12021202                        </a>
    12031203                </h1>
    1204                 <button type="button" class="options-open button-subtle">
    1205                         <span class="dashicons dashicons-tag"></span><span class="screen-reader-text"><?php _e( 'Show post options' ); ?></span>
     1204                <button type="button" class="options button-subtle closed">
     1205                        <span class="dashicons dashicons-tag on-closed"></span>
     1206                        <span class="screen-reader-text on-closed"><?php _e( 'Show post options' ); ?></span>
     1207                        <span aria-hidden="true" class="on-open"><?php _e( 'Done' ); ?></span>
     1208                        <span class="screen-reader-text on-open"><?php _e( 'Hide post options' ); ?></span>
    12061209                </button>
    1207                 <button type="button" class="options-close button-subtle is-hidden"><?php _e( 'Done' ); ?></button>
    12081210        </div>
    12091211
Note: See TracChangeset for help on using the changeset viewer.