Page MenuHomePhabricator

"Contents" <h2> needs to be updated to meet color contrast requirements in Minerva Night Mode
Closed, DuplicatePublic

Description

Context:
Per the most recent color contrast checker run, the one of the highest occurring color contrast WCAG violation can be found in inline styles in <h2 id="mw-toc-heading">Contents</h2>

Issue Details:
Skin: Minerva (Night Mode)
Problem Area: <h2 id="mw-toc-heading">Contents</h2>

Steps to Reproduce:
Go to a sample page
Navigate to Contents

Expected Result:
The text and background colors within the infobox should have a WCAG 2.0 level AA contrast ratio of at least 4.5:1 for normal text and 3:1 for large text.

Proposed Solution
Fix with CSS Variables

Screenshot 2024-02-14 at 4.08.44 PM.png (178×534 px, 9 KB)