diff --git a/app/views/govuk_publishing_components/components/_radio.html.erb b/app/views/govuk_publishing_components/components/_radio.html.erb index 72b52c09d0..0ec35f68a4 100644 --- a/app/views/govuk_publishing_components/components/_radio.html.erb +++ b/app/views/govuk_publishing_components/components/_radio.html.erb @@ -53,7 +53,9 @@ <%= tag.h1 heading, class: "gem-c-radio__heading-text govuk-fieldset__heading" %> <% end %> <% else %> - <%= tag.legend heading, class: legend_classes %> + <%= tag.legend class: legend_classes do %> + <%= tag.h2 heading, class: "govuk-fieldset__heading" %> + <% end %> <% end %> <% end %>