## Prerequisites: Found on 140.0a1 (2025-05-05) (64-bit) ## STR: Please note: it is important to turn HCM on first and then open Firefox. Otherwise, you may be unable to replicate the issue. Ensure the Mozilla VPN app is open before completing these steps. 1. Turn on Night Sky in Windows HCM 2. Open Nightly 3. In this step you can find any link. I chose to go to Google Scholar and search 'accessibility' 4. Press `Shift + Alt` to get the Link Preview to appear. This will show the default HCM styles 5. Click any link inside of the Link Preview. Then return to the page with the Link Preview and observe the hovered HCM style 6. Using the `TAB` key, move keyboard focus to any link. This will show the focus HCM style ## Actual: lw themes are being used in CSS and `prefers-contrast` has not been applied. For the visited link, the text color is `#80ff80` on a white background which fails contrast guidelines. [The contrast ratio is 1.27:1](https://webaim.org/resources/contrastchecker/?fcolor=80FF80&bcolor=FFFFFF) ## Expected: For default HCM styling, use `MozNativeHyperlinkText` For visited HCM styling, use `VisitedText` For focus HCM styling, use `MozNativeHyperlinkText` for the text and `CanvasText` for the focus outline
Bug 1964772 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
## Prerequisites: Found on 140.0a1 (2025-05-05) (64-bit) Night Sky HCM is turned on Light Mode theme is turned on in Firefox ## STR: Please note: it is important to turn HCM on first and then open Firefox. Otherwise, you may be unable to replicate the issue. Ensure the Mozilla VPN app is open before completing these steps. 1. Turn on Night Sky in Windows HCM 2. Open Nightly 3. In this step you can find any link. I chose to go to Google Scholar and search 'accessibility' 4. Press `Shift + Alt` to get the Link Preview to appear. This will show the default HCM styles 5. Click any link inside of the Link Preview. Then return to the page with the Link Preview and observe the hovered HCM style ## Actual: For the visited link, the text color is `#80ff80` on a white background which fails contrast guidelines. [The contrast ratio is 1.27:1](https://webaim.org/resources/contrastchecker/?fcolor=80FF80&bcolor=FFFFFF) ## Expected: The visited link color should meet a color contrast ratio of at least 4.5:1 per [WCAG SC 1.4.3 Contrast (Minimum)](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html)