<input> with error message using title

Return to main list

This is a test case designed to determine how an error message, associated with an <input> via the title attribute, is announced by various screen readers.

This example should not be considered proper practice. Where possible, error messages should be provided via the aria-describedby attribute.

Example

Error: Make sure to include full name

Code

<div>
  <label for="name">Name</label>
  <input type="text" id="name" title="Error: Use a full name">
  <span>Error: Make sure to include full name</span>
</div>

Assistive technologies

VoiceOver

NVDA

JAWS

Return to main list