whatwg / html

HTML Standard
https://html.spec.whatwg.org/multipage/
Other
8.19k stars 2.72k forks source link

Add a rel type for terms of service and privacy policy: <link rel="tos" href="..."> <link rel="privacy" href="..."> #5864

Closed gjvnq closed 4 years ago

gjvnq commented 4 years ago

While there is already a @rel="license" option, I think it would be good to have a @rel="tos" or @rel="terms" to help locate the terms of service page for any website. And a @rel="privacy" for privacy policy.

The key difference here is that @rel="license" is about copyright of the document (see 4.6.6.9 Link type "license") and @rel="tos" would be about the rules for usage of a web site/service/application (things like warranty, jurisdiction, etc).

Example:

<link rel="tos" href="https://docs.github.com/en/github/site-policy/github-terms-of-service">
<link rel="privacy" href="https://docs.github.com/en/github/site-policy/github-privacy-statement">
annevk commented 4 years ago

Thanks for your suggestion. As noted in the standard proposals have to go through https://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions.