Page Title: glock 19 FOR SALE ONLINE - OFFICIAL Glock 19 Pistols
August 25, 2021 04:02

Information on invalid values

Actions

Severity Action
Manual Check If the form control can be validated make sure it indicates invalid values when invalid.
Hidden The 5 control elements that are hidden do not need to be tested for indicating invalid values.

Details

Rule ID Error 1
Definition Form controls with invalid values must provide information to assitive technologies that the values are invalid.
Purpose
  • Users must be able to identify form control values which are invalid in order to successfully correct the values and submit the form.
WCAG Success Criteria

3.3.1 Error Identification (Level A, Primary Success Criterion)

Rule Category Forms
Scope Element
Target Resources textarea, select and input elements
  • select
  • textarea
Techniques
  • Add the text "invalid" to the label of the form control, the text can be placed off screen using CSS.
  • Add the image to the label. The image should be visible indicating an invalid value with the alt text 'invalid'.
  • Use aira-invalid attribute to indicate the form control is invalid.
Manual Checks
  • Enter invalid values into form controls that are validated and activate the validation event (i.e. form submission, change of focus...).
  • For the form controls with invalid values check to make sure the technique for indicating the invalid value is present.
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.