department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
78 stars 59 forks source link

Add Error Messages to the CMS design system. #16862

Open davidmpickett opened 4 months ago

davidmpickett commented 4 months ago

Description

Atomic Level

These levels match the levels in VA.gov Design System Documentation

Acceptance Criteria

Update Figma

Collab with Dev

Create Follow Up Tickets

davidmpickett commented 4 months ago

Not sure where exactly to document this, but putting it here for long-term findability. Currently in the Drupal CMS there seem to be two different classes for error message styling:

Example where they appear in a row on a single input field and have different styling:

Screenshot 2024-01-16 155531

Doesn't seem intentional. Probably should be standardized so that these classes are the same. But might make sense to have the correct styling codified in the design system before fixing the code.