WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Placeholder text in forms for Priority 3


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


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
Co-lead, Web Standards Project (WaSP) Accessibility Task Force
To manage your subscription, visit http://list.webaim.org/
Address list messages to <EMAIL REMOVED>