RE: additional label question

Hi Steve ...

Steve asked ...
>  is this considered a hack?

Well maybe it is a hack. But you could use the title attribute on the form
control if you were so inclined.

Jim
 
Accessibility Consulting: http://jimthatcher.com/
512-306-0931

-----Original Message-----
From: w3c-wai-ig-request@w3.org [mailto:w3c-wai-ig-request@w3.org] 
Sent: Sunday, April 03, 2005 7:06 PM
To: W3c Wai Ig
Subject: RE: additional label question
...

A method that I have looked into is the use of the z-index to place labels
behind a form input (in the stacking order) effectively hiding it from view
for CSS capable browsers, but still available to screen readers.

code example:
<div><label style="z-index:-1;position:absolute;" for="poot">poot</label>
<input type="text" id="poot" /></div> 

is this considered a hack?

best regards
stevef

Received on Monday, 4 April 2005 02:03:57 UTC