Skip to content

Commit

Permalink
Link to MDN instead of w3schools on links page
Browse files Browse the repository at this point in the history
  • Loading branch information
owenatgov committed Apr 2, 2024
1 parent f755a6a commit dcbc532
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 dcbc532

Please sign in to comment.