diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ff4c98e..c8a3fef2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +:wrench: **Fixes** +* Remove the unnecessary aria-labelledby tags from radio items. PR [#253](https://github.com/NHSDigital/nhsuk-react-components/pull/253) + + ## 4.1.2 - 3 September 2024 :wrench: **Fixes** diff --git a/src/components/form-elements/radios/__tests__/__snapshots__/Radios.test.tsx.snap b/src/components/form-elements/radios/__tests__/__snapshots__/Radios.test.tsx.snap index bc9f40aa..3df7d5d6 100644 --- a/src/components/form-elements/radios/__tests__/__snapshots__/Radios.test.tsx.snap +++ b/src/components/form-elements/radios/__tests__/__snapshots__/Radios.test.tsx.snap @@ -13,7 +13,6 @@ exports[`Radios matches snapshot 1`] = ` class="nhsuk-radios__item" > = ({ className={classNames('nhsuk-radios__input', className)} id={inputID} name={name} - aria-labelledby={children ? `${inputID}--label` : undefined} aria-describedby={hint ? `${inputID}--hint` : undefined} checked={checked} defaultChecked={defaultChecked}