tremorlabs / tremor

React components to build charts and dashboards
https://tremor.so
Apache License 2.0
15.39k stars 446 forks source link

fix: tab focus #1009

Closed adnjoo closed 1 month ago

adnjoo commented 1 month ago

Description

Changed the class from focus:ring-0 to focus:ring to improve keyboard navigation and accessibility in the Tab component.

Another class idea I had was focus:ring-1 rounded-t, which would have slightly softer features

Related issue(s)

305

What kind of change does this PR introduce? (check at least one)

Does this PR introduce a breaking change? (check one)

If yes, please describe the impact and migration path for existing applications:

How has this been tested?

Visual UI/UX test using storybook npm run storybook

Screenshots (if appropriate):

MacBook Pro Sonoma 14.2.1 Chrome Version 123.0.6312.87 (Official Build) (arm64)

Screenshot 2024-04-02 at 10 21 25 PM

The PR fulfils these requirements:

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tremor-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2024 5:23am
severinlandolt commented 1 month ago

Thanks, will check this out this week!

github-actions[bot] commented 1 month ago

:tada: This PR is included in version 3.15.1-beta-tabfixes.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: