W3C home > Mailing lists > Public > public-html@w3.org > August 2007

RE: Placeholder Text for Text Boxes

From: Richard Conyard <Richard@redantdesign.com>
Date: Mon, 20 Aug 2007 16:16:35 +0100
Message-ID: <70534E2542D210419652675ED5ACD8889F6188@ad01.redant.local>
To: "HTML Working Group" <public-html@w3.org>

I believe the current practice of placing the label with a negative
margin (i.e. off-page, but still set to visible since display: none
would cause this not to be read by some screen readers), may still be
the best solution here.

This would invalidate the need for any additional indication attributes.


PS. Sorry if I have misunderstood your point. 

-----Original Message-----
From: public-html-request@w3.org [mailto:public-html-request@w3.org] On
Behalf Of Maurice Carey
Sent: 20 August 2007 16:13
To: HTML Working Group
Subject: Re: Placeholder Text for Text Boxes

Also, is there, or is there going to be a way to indicate that an
element should be invisible for sighted users but any text in that
element should still be read for screen readers?

For example:
For a design where I have to put the text "username" and "password"
inside the input since there was no space to have a proper <label> I'd
like to be able to have put a proper label for the benefit of blind
users but still have it display:none for sighted users since they'll be
able to see the text inside the input. I may have the text "username"
and "password" appear by using background images in the <input> since
"password" in a password input looks like "********"
::   thyme online ltd
::   po box cb13650  nassau  the bahamas
::   website: http://www.thymeonline.com/
::   tel: 242 327-1864  fax: 242 377 1038
Received on Monday, 20 August 2007 21:17:54 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:25 UTC