WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Placeholder text in forms for Priority 3

for

From: Patrick H. Lauke
Date: Aug 8, 2008 2:40PM


Jared Smith wrote:

> A better approach is to use scripting to set the value of the text box
> on page load and remove the text onfocus. This removes the issues
> documented above if the user has scripting disabled.

i clobbered a script together a few years ago. should still work fairly ok

http://www.splintered.co.uk/experiments/22

--
Patrick H. Lauke
______________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
______________________________________________________________
Co-lead, Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
______________________________________________________________
_______________________________________________
To manage your subscription, visit http://list.webaim.org/
Address list messages to <EMAIL REMOVED>