Skip to content

Accessibility/sr for error for autosuggest#2139

Merged
judithmh merged 8 commits into
mainfrom
accessibility/sr-for-error-for-autosuggest
May 27, 2025
Merged

Accessibility/sr for error for autosuggest#2139
judithmh merged 8 commits into
mainfrom
accessibility/sr-for-error-for-autosuggest

Conversation

@judithmh
Copy link
Copy Markdown
Contributor

The fieldname and error were not read because of missing aria-describedby in the CustomInput. This solves the issue

Copy link
Copy Markdown
Contributor

@aaschlote aaschlote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

<components.Input
// avoid to clear the previous auto suggestion input when press enter
// this cannot be tested, thus manually tested with device(s)
onKeyDown={(e) => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the testing library be used to test this behaviour?

@sonarqubecloud
Copy link
Copy Markdown

@judithmh judithmh merged commit 7710839 into main May 27, 2025
22 checks passed
@judithmh judithmh deleted the accessibility/sr-for-error-for-autosuggest branch May 27, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants