Customizer: Improve accessibility of the toggle button in the available menu items panel.
Prevents focus lost in Safari because the button was "invisible" until it got focused. fixes #32709. Built from https://develop.svn.wordpress.org/trunk@32859 git-svn-id: http://core.svn.wordpress.org/trunk@32830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
898bb2ed34
commit
a28586a6d7
|
@ -625,14 +625,16 @@ button.not-a-button {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-title button:focus:before {
|
||||
#available-menu-items .accordion-section-title button {
|
||||
display: block;
|
||||
content: "";
|
||||
width: 28px;
|
||||
height: 32px;
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-title button:focus {
|
||||
-webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -625,14 +625,16 @@ button.not-a-button {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-title button:focus:before {
|
||||
#available-menu-items .accordion-section-title button {
|
||||
display: block;
|
||||
content: "";
|
||||
width: 28px;
|
||||
height: 32px;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-title button:focus {
|
||||
-webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32858';
|
||||
$wp_version = '4.3-alpha-32859';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue