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

[Bug]: Dropdown and Combox listbox do not have accessible names #33890

Open
2 tasks done
sethreidnz opened this issue Feb 23, 2025 · 0 comments
Open
2 tasks done

[Bug]: Dropdown and Combox listbox do not have accessible names #33890

sethreidnz opened this issue Feb 23, 2025 · 0 comments

Comments

@sethreidnz
Copy link

Component

Dropdown

Package version

^9.0.0

React version

^18

Environment

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  npmPackages:
    @fluentui/react-components: ^9.0.0 => 9.58.3 
    @types/react: ^18 => 18.3.18 
    @types/react-dom: ^18 => 18.3.5 
    react: ^18 => 18.3.1 
    react-dom: ^18 => 18.3.1

Current Behavior

When I test Combox and Drodown using a field as in my stackblitz they listbox has no accessbile name.

Expected Behavior

The accessbile name should be set to something sensible reflecting the field name.

Reproduction

https://stackblitz.com/edit/6gz26ktq-y5ffaeub

Steps to reproduce

  1. Open stack blitz
  2. See tests running and failing
  3. Open example.test.tsx to see what the tests do

Are you reporting an Accessibility issue?

yes

Suggested severity

High - No workaround

Products/sites affected

Affects the examples in storybook so presumably affects any user of fluent v9

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
@sethreidnz sethreidnz changed the title [Bug]: Dropdown and Combox listitems do not have accessible names [Bug]: Dropdown and Combox listbox do not have accessible names Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant