Skip to content

Accessibility and focus. #3968

New issue

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

By clicking “No 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? No Sign in to your account

Open
CorruptionTiger opened this issue Apr 24, 2025 · 2 comments
Open

Accessibility and focus. #3968

CorruptionTiger opened this issue Apr 24, 2025 · 2 comments
Labels
bug Something isn't working triage v3 #1289

Comments

@CorruptionTiger
Copy link

Environment


  • Operating System: Darwin
  • Node Version: v23.11.0
  • Nuxt Version: -
  • CLI Version: 3.25.0
  • Nitro Version: -
  • Package Manager: npm@10.9.2
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.0.2

Reproduction

https://github.com/CorruptionTiger/app-1.git

Description

The button operation in the dropdown menu cannot make the page elements focus.

Additional context

Click the button on the webpage. Ordinary buttons can correctly make the input focus, but buttons in the dropdown menu cannot make the input focus.

Logs

The button operation in the dropdown menu cannot make the page elements focus.
@CorruptionTiger CorruptionTiger added bug Something isn't working triage v3 #1289 labels Apr 24, 2025
@CorruptionTiger
Copy link
Author

The reason is that when the dropdown menu is opened, the page adds "aria-hidden=true". "aria-hidden=true" seems to prevent internal nodes from getting the focus.

Image

@CorruptionTiger
Copy link
Author

I'm not sure why we need to add "aria-hidden="true" to the root node. If we must add it, how can we make the inner nodes get the focus in the operation?

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

No branches or pull requests

1 participant