VGalaxies commented on code in PR #741:
URL:
https://github.com/apache/hugegraph-toolchain/pull/741#discussion_r3566484956
##########
hugegraph-hubble/hubble-fe/src/modules/navigation/Item/index.module.scss:
##########
@@ -31,3 +31,10 @@
width: 160px;
margin-bottom: 10px;
}
+
+.reason {
+ width: 160px;
+ color: #8c8c8c;
Review Comment:
### ⚠️ Increase the disabled-reason text contrast
The 12px `.reason` text uses `#8c8c8c` over the white navigation background,
producing a 3.36:1 contrast ratio; normal-sized informational text requires at
least 4.5:1.
([w3.org](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html))
> [!WARNING]
> Low-vision users may be unable to read the persistent explanation of why
Dashboard operations are disabled.
🛠️ **Suggested change:** Use a darker text color meeting 4.5:1, such as
`#595959`, which provides 7.00:1 contrast.
---
<sub>🤖 Codex review · **GPT-5.6 Sol** · effort: **xhigh**</sub>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]