Page Title: PG SLOT 999 PGSLOT.ORG
July 25, 2021 07:38

Required widgets


Severity Action
no actions


Rule ID Error 3
Definition If user input is required for a widget the aria-required attribute must must used.
  • Users benefit from information being informed if a input to a widget is required for form submission or task completion.
WCAG Success Criteria

3.3.3 Error Suggestion (Level AA, Primary Success Criterion)

Rule Category Widgets/Scripting
Scope Element
Target Resources textarea and input[type="text"] elements, and ARIA textbox, gridcell and combobox widgets
  • To identify a required widget, add the ARIA aria-required="true" attribute to the widget.
  • Use the aria-required attribute as the CSS selector for visually styling the widget as required. This ensures that the visual state stays synchronized with the accessibility API state used by assistive technologies.
  • Note the the HTML5 required attribute CANNOT be used to indicate that a widget is required, the requiured attribute can only be used on HTML5 defined form controls.
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.