aria
aria copied to clipboard
"Radio" role exemption from required context
Describe your concern
As part of writing the required context WPT test (https://github.com/web-platform-tests/interop-2023-accessibility-testing/issues/20), I came across an observation for the radio role:
Authors SHOULD ensure that elements with role radio are explicitly grouped in order to indicate which ones affect the same value.
I understand why the checkbox role doesn't have a Required Context/Owned parent because a solitary checkbox is a standard pattern (e.g., acknowledgement statement). However, should radio require a "required context" (i.e., radiogroup)?
The radiogroup role has a "Required Owned Elements" of radio (see https://www.w3.org/TR/wai-aria-1.2/#radiogroup) however, why doesn't radio have the same required context? Is a single orphan radio button permissible?
Link to the version of the specification or documentation you were looking at at.
Link to documentation: https://www.w3.org/TR/wai-aria-1.2/#radio
Does the issue exists in the editors draft (the editors draft is the most recent draft of the specification)?
Yes