GOV.UK Footer component fails accessibility test #5670
Labels
awaiting triage
Needs triaging by team
🐛 bug
Something isn't working the way it should (including incorrect wording in documentation)
Description of the issue
It's been reported in an accessibility test that the "Support links"
h2
in the GOV.UK Footer component is causing a failure to comply. This failure is due to ordering of headings, meaning it only becomes an issue on screens which use headings down to the level 3 as it appears to a screenreader that the heading order is h1 -> h2 -> h3 -> h2, for example.The suggestion is to remove the
h2
tag, but I'm hesitant because it's in this design system.Steps to reproduce the issue
Visit the DARTS login page: https://darts.staging.apps.hmcts.net/login and view the source for the footer.
This screenshot shows the
h2
Support links header.Actual vs expected behaviour
It's currently failing an accessibility test. I would expect using the GOV.UK Footer component not to result in a failure.
Environment (where applicable)
The text was updated successfully, but these errors were encountered: