E-mail List Archives

Re: Concern about ASP.NET validators and accessibility

for

From: Benjamin Hawkes-Lewis
Date: Nov 12, 2008 11:50AM


Karl Groves wrote:
> Display: none completely hides the content from everyone, including AT
> users.

Well, except users who aren't applying publisher CSS because it makes
content either hard to use or unusable (Opera's built-in User
stylesheets come to mind, as do text browsers) … which makes display:
none; unsuitable even for these purposes.

Fortunately, the appendChild and removeChild methods tend to be entirely
sufficient for adding and removing content for all users as necessity
requires - subject to persuading assistive technology to update virtual
buffers and notifying the user of change.

For showing content to screen reader users and users not applying
publisher CSS, positioning text off-screen left (or perhaps right for
right-to-left scripts) seems to be the most reliable technique.

--
Benjamin Hawkes-Lewis