VACMS-19163: changed required astrisk to after#19882
Conversation
|
Checking composer.lock changes... |
|
Checking composer.lock changes... |
GitHub Workflows (.github/workflows/*.yml)Have you...
|
|
Checking composer.lock changes... |
|
Checking composer.lock changes... |
|
Checking composer.lock changes... |
|
Checking composer.lock changes... |
|
Checking composer.lock changes... |
| border: var(--va-gray-lightest) solid 1px; | ||
| } | ||
|
|
||
| #field-clp-spotlight-link-teasers-values .form-item__label::after { |
There was a problem hiding this comment.
This selector isn't completely accurate in that it is targetted even when the field isn't required. Is there some reason we can't add the [required] attribute to the selector?
There was a problem hiding this comment.
I discovered the styles for the asterisk on form.css and was trying to follow it consistency. I can update and add [required].
|
Checking composer.lock changes... |
|
va/tests/status-error:
|
Cypress Accessibility Violations
|


Description
Relates to #19163
QA steps
name: "Campaign Landing Page - Spotlight Validation"
description: QA test for ensuring required fields and validation indicators appear correctly when editing a Campaign Landing Page, and that error messages are properly linked to the corresponding fields.
steps:
step: "Go to Tugboat instance Log in and create a new Campaign Landing Page."
expected_result: "Login and successfully go to create a Campaign Landing Page"
step: "Fill out the required fields in the Hero Banner, Why This Matters, What You Can Do, VA Benefits sections. and Selection settings"
expected_result: "Required fields are filled out without issues."
expected_result: "Node is saved successfully."
expected_result: "Spotlight section is enabled."
expected_result: "The 'List of links with summaries' field is marked with a red asterisk."
expected_result: "Link teaser is added successfully."
expected_result: "Node is saved successfully without errors."
expected_behavior:
Definition of Done
Select Team for PR review
CMS TeamPublic websitesFacilitiesUser supportAccelerated PublishingIs this PR blocked by another PR?
DO NOT MERGEDoes this PR need review from a Product Owner
Needs PO reviewCMS user-facing announcement
Is an announcement needed to let editors know of this change?