[wp-trac] [WordPress Trac] #32720: Customizer Menus: Accessibility: improve search for menu items
WordPress Trac
noreply at wordpress.org
Sat Jun 20 14:41:07 UTC 2015
#32720: Customizer Menus: Accessibility: improve search for menu items
--------------------------+----------------------------------------
Reporter: designsimply | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility, javascript
--------------------------+----------------------------------------
Changes (by afercia):
* keywords: needs-patch => has-patch
* focuses: accessibility => accessibility, javascript
Comment:
First pass:
- add a description and an `aria-describedby` attribute to inform users
this is a "live" search
- add some `wp.a11y.speak` messages to announce the number of search
results, as done for Themes see #26600
- use `aria-busy` to stop screen readers announcing content while the
"loading more results" is running
- increase the search debounce wait interval to 500ms
- fix a small bug where the message dispatched to `wp.a11y.speak` may be
an undefined variable
See in the screenshot below the new messages logged in the console when
searching for (in order):
- "markup"
- "mark"
- "ma"
- and then when scrolling or tabbing through the results
[[Image(https://cldup.com/NO3a9Nln9q.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32720#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list