unlcms / UNL-CMS-2

Previous Drupal 8 implementation at UNL. See https://github.com/unlcms/project-herbie for newer project.
GNU General Public License v2.0
3 stars 8 forks source link

HTML Validation #47

Open ericras opened 7 years ago

ericras commented 7 years ago

Error: Bad value revision for attribute rel on element link: The string revision is not a registered keyword. From line 58, column 1; to line 58, column 36

<link rel="revision" href="/home" />
ericras commented 7 years ago

https://www.drupal.org/node/2406533#comment-9908807

The plan—including to ignore the W3C validation for the time being—makes perfect sense.

ericras commented 7 years ago

1) Having some of those links exposed makes the W3C Validator complain. This is a problem with the W3C validator, not with Drupal. Defining new links is completely legal per modern W3C / hypermedia standards and conventions. We're supposed to be namespacing them, but the Validator appears to just be doing an old whitelist, I imagine. That's its problem, not ours, and thus is won't-fix.

ericras commented 7 years ago

https://github.com/unlcms/drupal_8_unset_html_head_link

ericras commented 7 years ago

https://www.drupal.org/node/2735195

ericras commented 7 years ago

https://github.com/unlcms/unl_fourone/blob/8.x-4.1.x/unl_fourone.theme#L70-L80