[_] XHTML Site logos!
Tim Beadle
tim.beadle at gmail.com
Wed Aug 8 15:39:00 BST 2007
On 08/08/2007, Keir Moffatt <hello at iamkeir.com> wrote: > I know display: none can behave strangely with screen readers but does > visibility: hidden also generate strange behavior? I don't know about strange behaviour, but the downside of using visibility: hidden is that the element still takes up space, but without being visible. display: none actually behaves as if the element didn't exist (in CSS-aware UAs). > Currently, for hiding things like accessibility links at the head of my page > (styled as an ordered list), I use text-indent: -9999em and set key > attributes to zero (line-height, font-size, margins, padding etc.). Good plan. I've started setting outline: 0 so that you don't get the marching ants extending off screen-left. Tim