Skip to content

This is an early unpublished editor's draft; content is incomplete and subject to change.

Input constraints used

foundational

Normative Text

Field constraints and conditions (required line length, date format, password format, etc.) are available.

Methods & best practices

  • Method (HTML): to programmatically indicate, use the pattern attribute or write the information in a label; to visually indicate, add the requirements to the page near the input.

Best practice: the constraints remain persistent

Tests

This section is non-normative.

Procedure

For each input:

  1. Confirm it has a visual information that describes the constraint.
  2. Inspect the code and accessibility tree (when applicable) and confirm that the constraint is programmatically listed in the code and associated with the input.

Expected results

  • #1 and #2 are true.

Tests

This content needs to be written.