Re: [Techs] CSS and invisible labels for forms

Gez Lemon wrote:

> To recap, the proposed techniques are:
> 
> 1: Hide the label with CSS using display: none
> 2: Hide the label with CSS by moving it off the visual display
> 3: Using a transparent single pixel image
> 4: Using the title attribute on the form control
> 
> As the techniques should promote best practice, I'm in favour of either technique 1 or technique 2. Techniques 3 and 4 seem like hacks to me.

I'd have to cast my vote for #2 because #1 is known to cause problems in 
some screen readers. I agree with Gez that #3 is a hack. I think #4 is 
acceptable, but obviously not as good a choice as a real label.

James

-- 
http://cookiecrook.com/

Received on Wednesday, 15 September 2004 21:37:45 UTC