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(Toolbar): set correct tabindex for buttons and links #1004

Merged
merged 2 commits into from
Feb 26, 2024

Conversation

fbbdev
Copy link
Contributor

@fbbdev fbbdev commented Feb 23, 2024

At present, the tabindex attribute of toolbar items is initialized only for group items, never for simple buttons or links.

As a result, when there is no group item, or the first item is a button/link, the toolbar becomes inaccessible by keyboard navigation.

This patch fixes the problem and introduces a comprehensive suite of regression tests, both by changing the order of items and by removing group items entirely.

Copy link

changeset-bot bot commented Feb 23, 2024

🦋 Changeset detected

Latest commit: c9a9412

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@melt-ui/svelte Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Feb 26, 2024

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
melt-ui ✅ Ready (View Log) Visit Preview c9a9412

Copy link
Member

@huntabyte huntabyte left a comment

Choose a reason for hiding this comment

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

Thank you!

@huntabyte huntabyte merged commit 7fa6ac3 into melt-ui:develop Feb 26, 2024
5 checks passed
This was referenced Feb 26, 2024
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.

2 participants