Customizer: Use visibility to hide available widgets and menu items panels from screen readers and to move them out of tab order.

props afercia.
fixes #32883.
Built from https://develop.svn.wordpress.org/trunk@33136


git-svn-id: http://core.svn.wordpress.org/trunk@33107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-07-08 21:21:25 +00:00
parent e8c6340f67
commit 5fff9d1ef7
9 changed files with 21 additions and 13 deletions

View File

@ -589,16 +589,17 @@
#available-menu-items {
position: absolute;
overflow: hidden;
top: 0;
bottom: 0;
right: -301px;
visibility: hidden;
overflow: hidden;
width: 300px;
margin: 0;
z-index: 4;
background: #eee;
-webkit-transition: all 0.2s;
transition: all 0.2s;
-webkit-transition: right .18s;
transition: right .18s;
border-left: 1px solid #ddd;
}
@ -797,6 +798,7 @@ button.not-a-button {
body.adding-menu-items #available-menu-items {
right: 0;
visibility: visible;
}
body.adding-menu-items .wp-full-overlay-main {

File diff suppressed because one or more lines are too long

View File

@ -589,16 +589,17 @@
#available-menu-items {
position: absolute;
overflow: hidden;
top: 0;
bottom: 0;
left: -301px;
visibility: hidden;
overflow: hidden;
width: 300px;
margin: 0;
z-index: 4;
background: #eee;
-webkit-transition: all 0.2s;
transition: all 0.2s;
-webkit-transition: left .18s;
transition: left .18s;
border-right: 1px solid #ddd;
}
@ -797,6 +798,7 @@ button.not-a-button {
body.adding-menu-items #available-menu-items {
left: 0;
visibility: visible;
}
body.adding-menu-items .wp-full-overlay-main {

File diff suppressed because one or more lines are too long

View File

@ -350,10 +350,11 @@ body.adding-widget .add-new-widget:before {
#available-widgets {
position: absolute;
overflow: auto;
top: 0;
bottom: 0;
right: -301px;
visibility: hidden;
overflow: auto;
width: 300px;
margin: 0;
z-index: 1;
@ -435,6 +436,7 @@ body.adding-widget .add-new-widget:before {
body.adding-widget #available-widgets {
right: 0;
visibility: visible;
}
body.adding-widget .wp-full-overlay-main {

File diff suppressed because one or more lines are too long

View File

@ -350,10 +350,11 @@ body.adding-widget .add-new-widget:before {
#available-widgets {
position: absolute;
overflow: auto;
top: 0;
bottom: 0;
left: -301px;
visibility: hidden;
overflow: auto;
width: 300px;
margin: 0;
z-index: 1;
@ -435,6 +436,7 @@ body.adding-widget .add-new-widget:before {
body.adding-widget #available-widgets {
left: 0;
visibility: visible;
}
body.adding-widget .wp-full-overlay-main {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-beta1-33135';
$wp_version = '4.3-beta1-33136';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.