> On Aug 4, 2015, at 17:29, Rick Lecoat <li...@sharkattack.co.uk> wrote: > > It is, unless you want to hide content from sighted users whilst still making > it available to assistive technologies. Examples: a 'Search' label beside a > search field, or 'skip to main content' links.
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… 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… Philippe -- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] 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/