On 4 Aug 2015, at 09:56, Philippe Wittenbergh <[email protected]> wrote:
> Fwiw, I use those (complicated) hide-from-sighted-users-but-not-from-AT {}
> less and less these days, in favour of aria-label="". In the example you
> give, you can omit the `label` from the search form, and just use <input
> type="search" aria-label="search this site"><input type="submit"
> value="search"> (but all depends on which browsers you need to support, goes
> without saying). As for the ‘skip to main content’ links, should that really
> be hidden from some users? A sighted user navigating the page with the
> keyboard might benefit form seeing that link…
Jim Thatcher (who, it might be supposed, knows a thing or two about
accessibility) is of the view that there is almost no reason to make hidden
content available to screenreaders:
http://alistapart.com/comments/now-you-see-me#330917
And in fact this returns to a question I've sought an answer to on previous
occasions but never got a definitive answer to: Do people using screenreaders
(I'm going to just refer to them as 'blind users' for the sake of brevity,
although I realise that it's a far broader church than that) WANT to have
immediate access to content that is hidden by interface -- eg. in
javascript-powered tabs, or in an accordion -- or would they rather that it is
hidden until their screenreader makes it available? Marco Zehe, in this
article:
https://www.marcozehe.de/2012/04/24/hiding-content-untangled-hiding-vs-moving-out-of-the-visible-viewport/
seems to imply the latter, but is he the only one?
There's also quite a good round up of how screenreaders interact with various
CSS and HTML/ARIA attribute settings at
http://www.paciellogroup.com/blog/2012/05/html5-accessibility-chops-hidden-and-aria-hidden/.
>
> And fwiw2, I don’t think you need those !important declarations in your
> rules. Might simplify overriding them if needed. Of course, mind the
> specificity etc…
Definitely. Removing the !important declarations is a high priority for me,
Philippe (if I can get away with it) for precisely the reason -- specificity --
that you mention.
--
Rick Lecoat
Designer. Coder. Writer. Curmudgeon.
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/