Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update the autocomplete so that screen readers behave properly #644

Closed
alexwbbr opened this issue May 9, 2024 · 1 comment
Closed

Update the autocomplete so that screen readers behave properly #644

alexwbbr opened this issue May 9, 2024 · 1 comment
Assignees
Milestone

Comments

@alexwbbr
Copy link
Collaborator

alexwbbr commented May 9, 2024

Describe the bug
When a screen reader gets to the autocomplete it will read out the hidden accessibility text first before the descriptive label. This needs to be changed so that the label and hint for the autocomplete is read first before the hidden accessibility text.

The autocomplete should also close the options list on blur as that is causing some confusion with screen readers which can cause text to be read out of order again.

All of the examples in the government design accessible autocomplete close on blur so I think we should follow suit.
https://alphagov.github.io/accessible-autocomplete/examples/

@daniele-zurico
Copy link
Contributor

closed by #645

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants