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

Select UX and accessibility issues #568

Closed
herkulano opened this issue Jun 8, 2024 · 1 comment · Fixed by #469
Closed

Select UX and accessibility issues #568

herkulano opened this issue Jun 8, 2024 · 1 comment · Fixed by #469
Labels
bug Something isn't working

Comments

@herkulano
Copy link

Describe the bug

There are several UX and accessibility issues in the behavior of the Select component:

  • Pressing the Label should focus on the Trigger
  • The Trigger should not have focus when opening the Popover
  • On exit/selection from the Popover the Trigger should be focus

Shadcn/Radix demo:
https://github.com/huntabyte/bits-ui/assets/125300/883af62f-bb62-48c5-b166-1d6fbc27674a

Shadcn/Bits/Melt demo:
https://github.com/huntabyte/bits-ui/assets/125300/c6eb4870-0987-4c38-ab60-1797b1fc4f64

Reproduction

bits-melt.mp4

Logs

No response

System Info

System:
    OS: macOS 14.5
    CPU: (8) arm64 Apple M1 Pro
    Memory: 69.33 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.14.0 - ~/.volta/tools/image/node/20.14.0/bin/node
    npm: 10.7.0 - ~/.volta/tools/image/node/20.14.0/bin/npm
    pnpm: 9.2.0 - ~/.volta/bin/pnpm
    bun: 1.1.12 - ~/.bun/bin/bun
  Browsers:
    Chrome: 125.0.6422.142
    Safari: 17.5
  npmPackages:
    @sveltejs/kit: 2.5.10 => 2.5.10 
    bits-ui: 0.21.10 => 0.21.10 
    svelte: ^5.0.0-next.111 => 5.0.0-next.151

Severity

annoyance

@huntabyte huntabyte mentioned this issue Jun 9, 2024
3 tasks
@huntabyte huntabyte added bug Something isn't working Svelte 5 Roadmap labels Jun 27, 2024
@huntabyte huntabyte mentioned this issue Jul 31, 2024
70 tasks
@huntabyte
Copy link
Owner

Closing as fixed in bits-ui@next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants