Skip to main content
Version: v6

An option ARIA role is missing a required parent element of Listbox

An option ARIA role is missing a required parent element of Listbox — rule summary
FieldValue
Rule codeOption_ParentRequirement_Missing
WCAG conformance levelA
WCAG success criterion4.1.2 Name, Role, Value
Must be fixed at sourceNo

Description

An option ARIA role was found to be missing the required parent Listbox element. Without the appropriate listbox parent element, assistive technologies such as screen readers cannot correctly interpret the structure of the listbox and its options. View the W3 details on these components here: https://www.w3.org/TR/wai-aria-1.1/#option.

How to fix

Ensure that each option aria role element (e.g., [role='option']) is correctly nested within a parent listbox element (e.g., [role='listbox']). This nesting is crucial for assistive technologies to properly interpret the structure of the listbox and its nested options.