Skip to content

Conversation

@GCHQ-Developer-299
Copy link
Contributor

@GCHQ-Developer-299 GCHQ-Developer-299 commented Jan 29, 2026

Summary of the changes

Added validation-message slot to ic-input-validation, which will support further slotted validation text

Added validation-text slot to text-field

Related issue

#4216

Checklist

General

  • Changes to docs package checked and committed.
  • All acceptance criteria reviewed and met.

Testing

  • Relevant unit tests and visual regression tests added.
  • Playground stories in React Storybook up to date, with any prop changes and additions addressed.

Accessibility

  • Accessibility Insights FastPass performed.
  • A11y unit test added and yields no issues.
  • A11y plug-in on Storybook yields no issues.
  • Manual screen reader testing performed using NVDA and VoiceOver.

Testing content extremes

  • All prop combinations work without issue.
  • Props/slots can be updated after initial render.

@github-actions
Copy link
Contributor

@GCHQ-Developer-299 GCHQ-Developer-299 force-pushed the 4216-ictextfield-allow-validation-text-be-provided-via-a-slot branch 4 times, most recently from 9d27e2e to 52bc4ad Compare January 29, 2026 12:26
Add validation-text slot to ic-text-field component, add validation-message slot to
ic-input-validation

ref #4216
Add visual regression test for icTextfield should render slotted validation-text
feat(react): update Cypress visual regression test baseline images

ref #4216
@GCHQ-Developer-299 GCHQ-Developer-299 force-pushed the 4216-ictextfield-allow-validation-text-be-provided-via-a-slot branch from 52bc4ad to edd5a6a Compare January 29, 2026 12:29
@GCHQ-Developer-299 GCHQ-Developer-299 marked this pull request as ready for review January 29, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants