Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjystanton/6652f7812e2181b2ba995e9a44d5fb45 to your computer and use it in GitHub Desktop.
Save benjystanton/6652f7812e2181b2ba995e9a44d5fb45 to your computer and use it in GitHub Desktop.

Use this pattern instead of placeholder text

<label for="form-input">
  Example form label
</label>
<input id="form-input" name="form-input" aria-describedby="form-help">
<p id="form-help">Some help text here</p>
@benjystanton
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment