When using the attribute aria-invalid="true" for form validation, a thin red line / border gets displayed on those elements. But in case that data-variant is being defined as well (which is most likely the case), these invalid (red) colors get overwritten.