mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Customizer: Accessibility enhancements.
* Move tabindex/focus code into `onChangeExpanded` so that it works for cases where `expand()` is called directly. * Use `visibility: hidden` to hide hidden elements from keyboard focus and screen readers. props celloexpressions. fixes #31336. git-svn-id: https://develop.svn.wordpress.org/trunk@33069 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -489,6 +489,19 @@ h3.customize-section-title {
|
||||
transition: left 0s;
|
||||
}
|
||||
|
||||
.wp-full-overlay.section-open #customize-controls .wp-full-overlay-sidebar-content {
|
||||
visibility: hidden;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open .accordion-section-content {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
p.customize-section-description {
|
||||
font-style: normal;
|
||||
margin-top: 22px;
|
||||
|
||||
Reference in New Issue
Block a user