new accessibility css for developers
Sometimes -- very rarely, but sometimes -- there needs to be text made available to screenreaders, but hidden from people using standard, CSS-aware visual browsers. In general, this is something that should be avoided, but there are valid use cases. For example, tag clouds, in which the size of the typeface is (usually) invisible to screenreaders and people using text-only browsers, but that typeface size includes semantic information. Hiding text from everyone except for CSS-unaware browsers makes it possible to reveal that information to screenreaders and text-only browsers without providing redundant information to visual browsers.
lj_base.css contains a new class, "invisible".
.invisible {
position:absolute;
left:-10000px;
top:auto;
}
Using this class will make text visible for screenreaders and CSS-unaware browsers, but hidden from everyone using CSS. Use this sparingly!
Example:
lj_base.css contains a new class, "invisible".
.invisible {
position:absolute;
left:-10000px;
top:auto;
}
Using this class will make text visible for screenreaders and CSS-unaware browsers, but hidden from everyone using CSS. Use this sparingly!
Example:
<span class ="invisible">Nobody with CSS turned on can see me!</span>
no subject
no subject
no subject
no subject
no subject
no subject
no subject