-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.1, 4.2, 4.3.7, 4.4, 4.5
HTML such as:
<p style="color:rgb(255, 255, 255); background-color:rgb(0, 0, 0);">RGB value text good contrast</p>
can cause the css_text_has_contrast to fail. This is due to the check not correctly processing the rgb() value to calculate the relative color contrast ratio for WCAG requirements.