WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Announcing Region Labels on OSX

for

From: Jared Smith
Date: May 15, 2014 3:10PM


Hidden elements (whether off-screen or clipped) should probably not
contain functional elements such as links or form controls. As Paul
noted, if an item receives focus but is not visible, the browser my
try to scroll to it and sighted users would have no indication as to
what has focus.

Other than that, it's perfectly acceptable way of providing content -
though should certainly be used judiciously. I don't think it would
cause any issues in the case you've presented. Of course if the
necessary text is already on the screen, then it should be used as an
associated label or description rather than duplicating that text in a
hidden element or in an attribute (such as aria-label).

Jared