hmcts / ia-aip-frontend

MIT License
3 stars 4 forks source link

RIA-6869 accordion aria-describedby issue #987

Closed nilay913 closed 1 year ago

nilay913 commented 1 year ago

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/RIA-6869

Change description

Needed to remove the aria-describedby on the accordion, which was hardcoded to be added in when a radio button "hint" is used, and there was no way to introduce a html element without it being a "hint" or "divider" from the template, so added the dropdown as a "divider" and altered the class it is given in order to make it look normal. "divider" for a radio button item isn't used anywhere in repo, so .govuk-radios__divider isn't used either, so altering it in sass file it won't affect anything existing.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No
nilay913 commented 1 year ago

https://github.com/hmcts/ia-aip-frontend/pull/996