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

Improve disabled state visibility for Tabs and other components #2995

Open
alexchexes opened this issue Dec 29, 2024 · 0 comments
Open

Improve disabled state visibility for Tabs and other components #2995

alexchexes opened this issue Dec 29, 2024 · 0 comments
Labels
bug Something isn't working triage v3 #1289

Comments

@alexchexes
Copy link

alexchexes commented Dec 29, 2024

Environment

  • Operating System: Windows 11
  • Browser: Chrome 131

Is this bug related to Nuxt or Vue?

Nuxt UI

Version

v2.20.0, 3.0.0-alpha-x

Reproduction

Tabs and Input#disabled sections of ui.nuxt.com, as well as pretty much every other component that has a "Disabled" state, demonstrate the issue

Description

The current styling for disabled state of different components in Nuxt UI has a very subtle visual distinction from the enabled state. On a monitor with good sRGB calibration (Gigabyte M32U - IPS, 4K, sRGB mode), the grayed-out appearance of the disabled state in almost every Nuxt UI component (as shown on the ui.nuxt.com/components) is almost indistinguishable from the non-disabled state.

Issue:

  • Disabled elements do not provide a clear visual cue, making it hard for users to differentiate their state at a glance.
  • This affects usability and accessibility, especially for users with mild visual impairments or varying screen settings.

Suggestion:

Consider increasing contrast differences or adding clearer indicators (e.g., opacity) to improve visual accessibility for disabled elements.

Example:
Tabs and Input#disabled sections of ui.nuxt.com, as well as pretty much every other component that has a "Disabled" state, demonstrate the issue.

Video (may look different on your monitor):
Nuxt UI 2.20.0:

chrome_2024-12-29--13-32-13--168.mp4

Nuxt UI 3.0.0-alpha-x:

chrome_2024-12-29--13-31-22--996.mp4

Photos of how it looks like on the mentioned monitor:

Additional context

No response

Logs

@alexchexes alexchexes added bug Something isn't working triage v3 #1289 labels Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage v3 #1289
Projects
None yet
Development

No branches or pull requests

1 participant