[wp-trac] [WordPress Trac] #34323: Make customizer media control placeholders clickable
WordPress Trac
noreply at wordpress.org
Fri Oct 16 20:59:26 UTC 2015
#34323: Make customizer media control placeholders clickable
-------------------------------------+--------------------------------
Reporter: NateWr | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, accessibility
-------------------------------------+--------------------------------
Comment (by afercia):
Tabbing isn't the only way screen reader users have to navigate through
content. Screen readers use arrow keys to navigate sequentially through
elements, shortcuts for jumping through specific element types, etc. Any
screen reader will read out that div as "clickable No image selected".
Being announced as "clickable" users will likely try to press Enter on
that div.
The only way to implement UI controls that will be usable for all users
it's to use native controls or, if there's really a good reason to use a
non-semantic element, then ARIA roles and attributes should be used to
rebuild the semantics of that pseudo-control.
> As you mention, though, it might make more sense to get rid of the
placeholder text.
I didn't mean that. I meant we already have a button that says "Select
Image". I don't see any reason to add one more, redundant, control to do
the same thing :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34323#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list