[wp-trac] [WordPress Trac] #21324: Visible Focus within Admin Screens could be much clearer.
WordPress Trac
noreply at wordpress.org
Thu Oct 18 02:45:47 UTC 2012
#21324: Visible Focus within Admin Screens could be much clearer.
----------------------------+--------------------
Reporter: grahamarmfield | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.5
Component: Accessibility | Version: 3.4.1
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+--------------------
Comment (by helenyhou):
Late to the party, but I'd love to know more about why we're doing so much
blurring with JS and why it's a good path forward. Something about
blurring clicks on almost every link in the admin just to maintain the
design in its non-active state doesn't seem right. Also, like azaozz, I am
worried about what it could potentially affect that we haven't thought of
or encountered yet.
What would issues be with using outline (like the way many browsers do by
default) and allowing it to continue showing after clicking instead of
blurring it away? There wasn't an outline on focus before, so it really
was completely unnoticeable where you were if you tabbed around even a
little bit, but I feel like the background color was a little bit of an
awkward way to go in core. I also think that there is something to be said
for going with browser defaults, as it's what people are accustomed to
looking for. I actually don't really notice the blue because I'm expecting
an outline instead.
As for the higher visibility part - a background color does indeed seem
more visible than an outline, but to be honest, at least in this
application, it looks weird and out of place in the design. That we need
to hide it via that JS blur speaks to that, I think. Because it's not a
browser default way of handling focus styles, it should especially fit
with the admin, and I don't think it does. It's also not great for regular
text links that don't have padding because it won't extend past the
boundaries of the text itself and makes the text rather harder to read
because of all the edges at once.
I definitely want to support high visibility/high contrast/enhanced
accessibility, but I think implementing something along those lines as the
default in core (as opposed to a mode or a plugin) to the detriment of
other parts (the overall visual and JS in this case) is not advisable. We
can certainly do better than what we had in terms of visible focus,
because we kind of had nothing, but I think we've gone past a sane default
state into what should probably be in an enhanced accessibility mode
instead, and needing a JS workaround to accommodate what should be basic
styling is not good.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21324#comment:44>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list