alphagov / govuk-frontend

GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
https://frontend.design-system.service.gov.uk/
MIT License
1.18k stars 325 forks source link

Consider removing aria-expanded from conditional radios #4974

Closed joelanman closed 6 months ago

joelanman commented 6 months ago

Description of the issue

aria-expanded on radios is not valid in the spec. According to this thread, it's potentially superfluous and only adds noise

So this is an issue to consider removing it from radios

Came up recently here:

romaricpascal commented 6 months ago

It's a duplicate of https://github.com/alphagov/govuk-frontend/issues/979, so I'll close it to track things in a single place.