-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
betaConcerns a bug/feature in a beta releaseConcerns a bug/feature in a beta releaseseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: UI/UXUser interface or user experience related workUser interface or user experience related worktype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Deployment Type
Self-hosted
NetBox Version
v4.0-beta1
Python Version
3.11
Steps to Reproduce
- Activate dark mode
- Navigate to Site list
- Inspect first columns site name with the browser debug toolbar
- Check text color and background color attributes
- Calculate contrast ratio.
Expected Behavior
According to WCAG 2.1 accessibility standard, a bare minimum contrast ratio of 3:1 is required, 4.5:1 would be better.
Observed Behavior
A ratio of 2.92:1 was calculated.
Responsible for the link color is the CSS variable --tblr-link-color-rgb. I found that the Tabler Demo uses slightly different colors. However, I can't find the cause why, as netbox.scss doesn't seem to change related Tabler variables.
bobbwest
Metadata
Metadata
Assignees
Labels
betaConcerns a bug/feature in a beta releaseConcerns a bug/feature in a beta releaseseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: UI/UXUser interface or user experience related workUser interface or user experience related worktype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application