Press This, split button: wrap the sub-buttons in an unordered list to aid accessibility.
Props afercia. See #32757. Built from https://develop.svn.wordpress.org/trunk@32934 git-svn-id: http://core.svn.wordpress.org/trunk@32905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b5973e92ec
commit
d4f3428d5f
|
@ -405,7 +405,9 @@ strong {
|
|||
background-color: #fff;
|
||||
min-width: 180px;
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: 8px;
|
||||
list-style: none;
|
||||
-webkit-box-shadow: -1px 0 4px rgba( 0, 0, 0, 0.15 );
|
||||
box-shadow: -1px 0 4px rgba( 0, 0, 0, 0.15 );
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -405,7 +405,9 @@ strong {
|
|||
background-color: #fff;
|
||||
min-width: 180px;
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: 8px;
|
||||
list-style: none;
|
||||
-webkit-box-shadow: 1px 0 4px rgba( 0, 0, 0, 0.15 );
|
||||
box-shadow: 1px 0 4px rgba( 0, 0, 0, 0.15 );
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1458,11 +1458,11 @@ class WP_Press_This {
|
|||
<span class="screen-reader-text"><?php _e('Toggle dropdown'); ?></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="split-button-body">
|
||||
<button type="button" class="button-subtle draft-button split-button-option" aria-live="polite"><?php _e( 'Save Draft' ); ?></button>
|
||||
<a href="<?php echo esc_url( get_edit_post_link( $post_ID ) ); ?>" class="edit-post-link split-button-option" target="_blank"><?php _e( 'Standard Editor' ); ?></a>
|
||||
<button type="button" class="button-subtle preview-button split-button-option"><?php _e( 'Preview' ); ?></button>
|
||||
</div>
|
||||
<ul class="split-button-body">
|
||||
<li><button type="button" class="button-subtle draft-button split-button-option" aria-live="polite"><?php _e( 'Save Draft' ); ?></button></li>
|
||||
<li><a href="<?php echo esc_url( get_edit_post_link( $post_ID ) ); ?>" class="edit-post-link split-button-option" target="_blank"><?php _e( 'Standard Editor' ); ?></a></li>
|
||||
<li><button type="button" class="button-subtle preview-button split-button-option"><?php _e( 'Preview' ); ?></button></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32933';
|
||||
$wp_version = '4.3-alpha-32934';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue