Open mmmavis opened 1 year ago
Ouch
I am also working on getting HTML template linting and formatting set up (#9034). Well, actually it's already merged. You can run inv lint-html
. What is missing is fixing the issues pointed out and making the CI step required.
This was one of the topics that we would have addressed in the Torchbox SEO evaluation/fix work that never came to fruition. Let's break this issue out into more manageable chunks, maybe by page, and we'll get those prioritized in the backlog.
@mmmavis Can you add some info which tool / HTML validator you used to generate that initial list?
Yup. Updated the ticket description to mention https://validator.w3.org/ There are other tools for sure but this is the one I've been using.
Found some tools listed on https://validator.w3.org/nu/about.html . html5validator in particular might be the most helpful for our use case. Though I'm not sure if our GitHub security settings will allow us to use it as it's from outside of the org 😬
I'm thinking we can start fixing from pages that get the most traffic and aim to fix 1 to 3 pages per sprint? Many components/code snippets are shared so hopefully the number of HTML errors for the remaining pages will go down significantly after we fix the first few pages.
@jhonatan-lopes I looks like that this was not broken down into smaller ticket. The epic in Zenhub only contains #9484. I can start with that one.
If we can get access to the traffic information, I could add tickets for those and start working them.
Hey @tbrlpld, I would start with the Homepage, the PNI Homepage and the Blog Homepage (I think those receive the most traffic).
@mtdenton do you have info on which pages we should prioritise first here?
After fixing the three of the most prominent pages (home, blog index and PNI home) we can probably shift focus to the highest traffic pages.
Based on traffic data I have received from the SEO team that should be:
Thanks @tbrlpld , feels like a sound approach.
PRs for the above pages are in.
The next most prominent page types are (based on traffic data):
/en/privacynotincluded/categories/cars/
) - I think is only a variation of the PNI homepage. There fore probably nothing new to fix, but I will check anyhow. /en/privacynotincluded/nissan/
)/en/what-we-do/
, /en/what-we-fund/
, /en/what-we-fund/fellowships/
)/en/who-we-are/
)/en/artifacts/x-ray-goggles/
)/en/what-you-can-do/
)Remaining tickets:
We have A LOT of HTML errors on the site. Numbers are quite high :see_no_evil: Here are the results of the 5 random pages I tested using https://validator.w3.org/
Why should we fix these errors?
From an online source
How to address these issues?
┆Issue is synchronized with this Jira Epic