Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The markup for the header was changed in alphagov/govuk-frontend#1724: > role="none"/"presentational" does not do enough to hide the child fallback image used in older browsers. > > We have found that Chrome's new "Get image descriptions from Google" feature will notice this fallback image. > > This means when screenreaders such as NVDA visit the logo, it'll announce "Unlabelled graphic, To get missing image descriptions, open the context menu." for this fallback image. > > By using aria-hidden="true" we can ensure that the SVG and it's children are all hidden from the accessibility tree, which I have confirmed in NVDA + Chrome. This change went out as part of GOV.UK Frontend v3.6.0. It was missed when updating the Design System to use v3.6.0 in #1187 (it's a non-breaking change, as the existing markup works fine – this is just an improvement)
- Loading branch information