diff --git a/src/GovUk.Frontend.AspNetCore/HtmlGeneration/ComponentGenerator.SummaryList.cs b/src/GovUk.Frontend.AspNetCore/HtmlGeneration/ComponentGenerator.SummaryList.cs index 2e4b17e3..8a37644d 100644 --- a/src/GovUk.Frontend.AspNetCore/HtmlGeneration/ComponentGenerator.SummaryList.cs +++ b/src/GovUk.Frontend.AspNetCore/HtmlGeneration/ComponentGenerator.SummaryList.cs @@ -134,6 +134,7 @@ static TagBuilder GenerateLink(SummaryListAction action, int rowIndex) var vht = new TagBuilder("span"); vht.MergeCssClass("govuk-visually-hidden"); vht.InnerHtml.Append(action.VisuallyHiddenText); + anchor.InnerHtml.Append(" "); anchor.InnerHtml.AppendHtml(vht); }