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

combo-box does not announce selected list item #8446

Open
christophe-g opened this issue Jan 6, 2025 · 2 comments
Open

combo-box does not announce selected list item #8446

christophe-g opened this issue Jan 6, 2025 · 2 comments
Labels

Comments

@christophe-g
Copy link
Contributor

christophe-g commented Jan 6, 2025

Description

Using a combo-box with a screen reader does not announce the selected item when moving up/down the list with keyboard.

This works for the simpler select component.

Expected outcome

Screen reader should announce the label of the selected (active) item when using the keyboard to navigate the list.

Minimal reproducible example

https://vaadin.com/docs/latest/components/combo-box#related-components

Steps to reproduce

Going up and down should announce the active item

Environment

Vaadin version(s): 24.6.0
OS: linux mint

Screen Reader: Orca - I do not have easy access to another SR for testing.

Browsers

No response

@web-padawan web-padawan added a11y Accessibility issue vaadin-combo-box labels Jan 6, 2025
@web-padawan
Copy link
Member

Thanks for the issue. I'm not sure we ever tested it with Orca (usually we only test on VoiceOver, NVDA and JAWS). But it's most probably related to the fact that the actual focus remains in the input field and the focusable elements are marked using aria-activedescendant attribute which has some issues at least in VoiceOver on Safari: #2748

@christophe-g
Copy link
Contributor Author

related to the fact that the actual focus remains in the input field

That was also my take when looking at how the accessibility tree was behaving (in contrast with the select component). I'll try to use the select component instead for the time being.

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

No branches or pull requests

3 participants