gbif / hp-beaty-biodiversity-museum

This repository is for the GBIF Hosted Portal for the Beaty Biodiversity Museum
https://collections.beatymuseum.ubc.ca
Apache License 2.0
1 stars 3 forks source link

W3 HTML Validator bugs #92

Closed mpitblado closed 8 months ago

mpitblado commented 10 months ago

A list of issues to fix can be displayed by going to: https://validator.w3.org/nu/?doc=https%3A%2F%2Fcollections.beatymuseum.ubc.ca%2F (validator plus the query that points to collections.beatymuseum.ubc.ca)

MortenHofft commented 10 months ago

I haven't look at the report carefully, but be sceptical of anything coming from w3 - they are infamous for their low quality and plain wrong advice.

Just briefly scanning many of the errors has to do with trailing slashed on links. Which According to mdn and code checkers are the correct syntax. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link

That isn't to say that there couldn't be actual errors and useful stuff in there, but I would double check everything

mpitblado commented 10 months ago

Interesting! One of the Specify devs had run in on the Specify code and so thought I would also give it a whirl, but agree some of the suggestions seem a little nonsensical. Did not know about the reputation of W3! Good to know!