Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to MDN instead of w3schools on links page #3722

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

owenatgov
Copy link
Contributor

What

Where we reference hreflang when talking about links to pages in other languages, use MDN as a source instead of w3schools.

Why

Prompted by alphagov/govuk-design-system-backlog#64 (comment)

In my opinion, w3schools isn't an untrustworthy resource but MDN is typically more reliable, a little less digestible than w3s but still better than directly linking to specs and more common across our guidance when referencing browser tech.

Copy link

netlify bot commented Apr 2, 2024

You can preview this change here:

Name Link
🔨 Latest commit dcbc532
🔍 Latest deploy log https://app.netlify.com/sites/govuk-design-system-preview/deploys/660c05d84033050008155005
😎 Deploy Preview https://deploy-preview-3722--govuk-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@owenatgov owenatgov merged commit 6137fd4 into main Apr 2, 2024
13 checks passed
@owenatgov owenatgov deleted the hreflang-mozilla-link branch April 2, 2024 13:52
@selfthinker
Copy link
Contributor

That's the wrong link. It should go to the documentation about the 'hreflang' attribute for anchor not for the link elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants