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:
   ### ⚠️ P2 · Increase the disabled-reason text contrast
   
   #### 📐 Measured result
   
   | Metric | Observed | Required / target |
   | --- | --- | --- |
   | Text contrast | 3.36:1 | >= 4.5:1 |
   
   The changed 12px reason text uses #8c8c8c over the white navigation 
background, producing a 3.36:1 contrast ratio.
   
   **References:** [WCAG 2.2 contrast 
minimum](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html)
   
   > [!WARNING]
   > **Impact:** Low-vision users may be unable to read the persistent 
explanation of why Dashboard operations are disabled.
   
   #### 🛠️ Suggested change
   
   Use a darker text color that reaches at least 4.5:1, such as `#595959`, 
which provides approximately 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]

Reply via email to