hmrc / accessibility

Apache License 2.0
22 stars 5 forks source link

Incorrect classname on error heading #28

Open philsherry opened 4 years ago

philsherry commented 4 years ago

Problem

Heading level 2 with a class of h3-heading isn’t doing anyone any favours and just looks confusing. It’s an out-dated classname and also the wrong size.

<h2 id="errorSummaryHeading" class="h3-heading">@Messages(errorHead)</h2> [code on GitHub]

This has been an issue since ~2016, so it's long overdue to be addressed.

Solution

Change the class to heading-medium and advise teams to upgrade.

ashfaqhussain357 commented 2 months ago

No longer an issue.