-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] Components/packages/components/packages/components[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
For validated controls that use a hidden element as a validation delegate (ValidatedCustomSelectControl, ValidatedFormTokenField, ValidatedToggleGroupControl), the aria-describedby for the validation error message is attached to the hidden delegate element rather than the interactive control the user actually focuses. This means screen reader users will not hear the validation error when they manually focus back to the control (after the fix for #76694 is in place).
We may need to introduce a getInteractiveTarget() ref alongside getValidityTarget(), so ControlWithError can attach the error description to the element users actually interact with.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] Components/packages/components/packages/components[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.