<input> with pattern

Return to main list

This is a test case designed to determine how the pattern attribute is announced. In real situations, authors should always provide clear instructions on how to successfully complete form questions.

Example

Code

<div>
  <label for="rego">Car registration number</label>
  <input
    type="text"
    id="rego"
    pattern="[0-9]{3}[A-Z]{3}"
  >
</div>

Assistive technologies

VoiceOver

NVDA

JAWS

Return to main list