Skip to content

Commit

Permalink
Merge pull request #3722 from alphagov/hreflang-mozilla-link
Browse files Browse the repository at this point in the history
Link to MDN instead of w3schools on links page
  • Loading branch information
owenatgov authored Apr 2, 2024
2 parents f755a6a + dcbc532 commit 6137fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/links/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ When offering links to content in other languages, make sure:

- the link's text includes the name of the alternative language in both English and the source language
- the link's purpose is always clear, even when taken out of context
- the link element includes an [`hreflang` attribute](https://www.w3schools.com/tags/att_a_hreflang.asp) that identifies the language of the linked page.
- the link element includes an [`hreflang` attribute](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/hreflang) that identifies the language of the linked page.

For example, your link text could be 'use [Service name] in [language]'.

0 comments on commit 6137fd4

Please sign in to comment.