Closed
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.