Page Title: LegalZoom vs Northwest Registered Agent LLC Services
August 03, 2021 04:25

id must be unique

Actions

Severity Action
no actions

Details

Rule ID Control 5
Definition All id attribute values must be unique on the page.
Purpose
  • id attribute values on form control elements can be used as references by label elements. When id attribute values on the page are not unique, form controls may be incorrectly labelled.
  • aria-labelledby and aria-describedby atributes also depend on unique id values for labeling and adding descriptions to form controls.
WCAG Success Criteria

4.1.1 Parsing (Level A, Primary Success Criterion)

Rule Category Forms
Scope Element
Target Resources Form control elements with id attributes
  • select
  • textarea
Techniques
  • If a form control defines an id attribute, ensure that its value is unique on the page.
Informational Links

Element Results

Element Identifier Result Element Position Message

Column Definitions

Element Identifier
Information about the element associated with the result.
The information typically includes the tag name, accessible name or other information related to the rule requirements.
"Page" means that the result applied to the page. For example, the rule "One main landmark on the page" is a page level rule.
Element Position
The element position is based on the DOM order of elements in the page.
The element position maybe useful in helping to locate a specific element on the page evaluated (e.g smaller numbers are typically toward the beginning of a page and larger numbers typically toward the end of a page).
Element position 1 is the first element.
The highest element position is the last element.
Element position values for most rule/page results will not be consecutive since a rule only applies to a sub set of elements found on a page.