Skip to content

Conversation

peteryates
Copy link
Member

This change removes the aria-describedby link between labels/legends and supplemental content, and the warnings that were added in #456.

It still allows arbitrary HTML content to be passed in, and it'll be rendered in the same place - but importantly, now it won't be read out by screen readers. This can be a frustrating experience for screenr eader users if there's multiple paragraphs read out between the label and the input itself.

This change removes the aria-describedby link between labels/legends and
supplemental content, and the warnings that were added in #456.

It still allows arbitrary HTML content to be passed in, and it'll be
rendered in the same place - but importantly, it won't be read out by
screen readers. This can be a frustrating experience for screenr eader
users if there's multiple paragraphs read out between the label and the
input itself.

Fixes #445.
Copy link

netlify bot commented Sep 19, 2025

Deploy Preview for govuk-form-builder ready!

Name Link
🔨 Latest commit 2aa3f5a
🔍 Latest deploy log https://app.netlify.com/projects/govuk-form-builder/deploys/68cdd83c4286f500086a0456
😎 Deploy Preview https://deploy-preview-580--govuk-form-builder.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@peteryates peteryates marked this pull request as ready for review September 20, 2025 09:41
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.

1 participant