MediumWCAG 1.4.1 · Level APerceivable
Required Field Indicated by Color Alone
Flags required form fields that rely on red color styling alone without a visible asterisk (*), text label, or aria-required attribute.
Rule ID: custom-color-alone-required · reported under Needs review, because a person should confirm it.
Who this affects
People with colour blindness or low vision miss information shown only by colour.
WCAG 1.4.1 Use of Color: read the W3C explanation of Use of Color
How to fix it
Problem
<label class="text-red-500">Email <input type="email" required /></label>Fixed
<label>Email <span class="text-red-500">*</span> <input type="email" required aria-required="true" /></label>These are short examples. In the extension, A11yEngine points to the element on your own page and can suggest a fix for your code (HTML, React, Vue or Tailwind).
Find this on your own pages
Check any page for this and 100+ other issues in your browser, free.