Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

♿ a11y(bal-dropdown): dropdown options are not accessible #1531

Closed
1 task done
zsofia-oroszi-ibmix opened this issue Nov 29, 2024 · 1 comment
Closed
1 task done
Labels
✨ feature New feature or request

Comments

@zsofia-oroszi-ibmix
Copy link

Description of this issue

Keyboard access:

  • Selection with space not possible. Only enter.

Screenreader access (VoiceOver + Chrome):

  • Input is read as textfield and therefore treated as one
  • Since it is recognised as textfield opening dropdown with VO+space is not possible.

How to fix it

Code Reproduction URL

https://dev.author.baloise.magnolia-platform.io/webstyleguide-baloise-com/de/home/components/Formularbaukasten/Dropdown.html

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@zsofia-oroszi-ibmix zsofia-oroszi-ibmix added the ✨ feature New feature or request label Nov 29, 2024
@hirsch88 hirsch88 added this to the ♿️ Accessibility milestone Dec 5, 2024
@hirsch88
Copy link
Member

hirsch88 commented Dec 5, 2024

Hi @zsofia-oroszi-ibmix

Space will not be provided
Pressing Enter will select a highlighted option and collapse the list. (If nothing is highlighted in the list, pressing Enter will toggle the combo box open and closed.) Space cannot be used for selecting, as pressing it will submit a space character into the filter string.

TextField
Since autofill is a requirement we cannot use a button

@hirsch88 hirsch88 closed this as completed Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants