[wp-trac] [WordPress Trac] #28888: Customizer - Widgets - Screen Readers Don't Announce Widget Names
WordPress Trac
noreply at wordpress.org
Tue Jun 2 17:43:59 UTC 2015
#28888: Customizer - Widgets - Screen Readers Don't Announce Widget Names
----------------------------+-----------------------------
Reporter: GrahamArmfield | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version: 3.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: accessibility
----------------------------+-----------------------------
Comment (by afercia):
Reviewed a bit and here's how Firefox+NVDA read out the active widgets:
{{{
when arrowing:
clickable clickable link <-- the non-focusable clickable draggable
heading and the link together
heading level 4 Calendar <-- the heading with the widget name
when tabbing:
clickable clickable link <-- the focusable link is empty
}}}
There's room for improvement :)
- the toggle link should be a button, the JavaScript part should be
updated (no keydown if any, and no preventDefault needed)
- should have an aria attribute aria-expanded to be dynamically updated
- should have some screen reader text to say what it does: "Edit {widget
name} widget" and when expanded "Close {widget name} widget"
- the "Remove" and "Close" links should be buttons
- looks like the "save as you type" saves on each keystroke. Should really
try to detect when users actually end typing. See for example what was
done for the Themes search using `_.debounce` in #26600 and #31812
- the "Remove" label: it says "Remove" and has a title attribute `"Trash
widget by moving it to the inactive widgets sidebar."` So is it removing,
trashing, or moving? What is the "widgets sidebar" in the Customizer
context? Bit confusing and doesn't explain the most important thing:
settings/content will be preserved.
Agreed would need someone to take over and create a patch. Patchers
welcome!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28888#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list