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

fix(ui,a11y): focus lost when navigating using the keyboard (tab) #2766

Merged
merged 2 commits into from
Apr 6, 2024

Conversation

userquin
Copy link
Member

@userquin userquin commented Apr 5, 2024

This PR removes all no-auto-focus attributes from CommonTooltip component usages, adding also no-auto-focus in VMenu and CommonTooltip to disable it to fix losing focus when using the keyboard.

Without this PR, check the video or open elk.zone and traverse the app using the tab key: https://streamable.com/5lngi3

With this PR: https://streamable.com/c0jpsj

Copy link

stackblitz bot commented Apr 5, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Apr 5, 2024

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit b2a8a91
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/66103bb973163b00086f347f
😎 Deploy Preview https://deploy-preview-2766--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 5, 2024

Deploy Preview for elk-docs canceled.

Name Link
🔨 Latest commit b2a8a91
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/66103bb97531bf0008be7d24

@userquin userquin changed the title fix(ui,ay11): focus lost on when navigating using the keyboard (tab) fix(ui,a11y): focus lost on when navigating using the keyboard (tab) Apr 5, 2024
@userquin userquin changed the title fix(ui,a11y): focus lost on when navigating using the keyboard (tab) fix(ui,a11y): focus lost when navigating using the keyboard (tab) Apr 5, 2024
Copy link
Member

@shuuji3 shuuji3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, now auto-focus is working correctly. The cursor blinking issue was also resolved. 💯

@patak-dev patak-dev added this pull request to the merge queue Apr 6, 2024
Merged via the queue into main with commit e53f651 Apr 6, 2024
21 checks passed
@patak-dev patak-dev deleted the userquin/fix-disable-floating-vue-auto-focus branch April 6, 2024 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants