Documented xlink:href on SVG fallback image is… missing… #1299
Labels
🐛 bug
Something isn't working the way it should (including incorrect wording in documentation)
⚠️ high priority
Used by the team when triaging
🕔 hours
A well understood issue which we expect to take less than a day to resolve.
In the header component, we talk about the importance of the (empty)
xlink:href
attribute in the fallback<image>
tag:govuk-frontend/src/components/header/template.njk
Lines 35 to 39 in 8370f97
However, we don't actually include that attribute:
govuk-frontend/src/components/header/template.njk
Line 43 in 8370f97
🤔
We do include the xlink:href attribute in the Design System where the header component originated from – it looks like it was omitted when the component was copied in #695.
We should double check whether this attribute actually does have the effect we say it does (https://css-tricks.com/a-complete-guide-to-svg-fallbacks/ suggests it does), and then either reintroduce the missing attribute or update the documentation.
The text was updated successfully, but these errors were encountered: