dotjay.com / lab / experiments / forms / input-placeholder-text

Input Placeholder Text – JavaScript selection versus clearing and related notes

Last updated: October 26, 2009

This experiment is getting a bit old now. I might come back to it for some actual user testing soon.

The most useful thing to most visitors right now is probably the JavaScript I wrote to handle the placeholder text. There are notes in that file to show you how it is used. The license on this code is “take it, use it however you like”.

There are also a few notes below discussing whether or not form placeholder text is really useful or not, and whether or not it should actually be a requirement to meet WCAG.

Notes

Testing the following things:

Questions to answer for screen readers and, particularly, Braille devices:

  1. Do title attributes on the input elements get conveyed to the user? (would depend on screen reader settings)
  2. Does the selected placeholder text get conveyed to the user?
  3. Does the selected placeholder text get over-written when the user types?
  4. Does the cleared placeholder text get conveyed to the user before it is cleared?
  5. What happens when JavaScript is not available? (expect title attribute to be read to user, but would depend on screen reader settings)
  6. How does a user cope when no placeholder text is used?

Additional notes and thoughts:

Test Form

Please note: the following form does not yet submit to anywhere.