Skip to content

Instantly share code, notes, and snippets.

Avatar

Benjy Stanton benjystanton

View GitHub Profile
View css-reading-list.md
View ARIA-Landmark-roles-and-HTML5.md
View use-this-pattern-instead-placeholder-text.md

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>