Page MenuHomePhabricator

Color Contrast Error - [style] Styling in .reference > a Element in Minerva Night Mode
Closed, InvalidPublic

Description

According to the night mode checker, a common color contrast error has been identified in elements with [style] styling where a reference link is nested inside a .reference > a structure. The issue is flagged by the following regex criteria:

text.match(/\[style\].*\.reference > a/)

Details:

  • Regex Criteria: \[\style\].*\.reference > a
  • Location: Elements with [style] styling containing a reference link within .reference > a

Steps to Reproduce:

  1. Identify elements with [style] styling.
  2. Check if a reference link is nested inside the .reference > a structure.
  3. Confirm the color contrast error based on the regex criteria.