1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

Update test docs in README

No Webhint errors expected, feed validator runs offline now, also
feature redbot.
This commit is contained in:
Rohan Kumar 2023-11-24 21:08:55 -08:00
parent ba3c58dfd9
commit 129d9b34d2
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -55,17 +55,18 @@ To lint:
- A very recent build of the W3C's [Nu HTML checker](https://github.com/validator/validator) to validate the HTML and XHTML, available on your `$PATH` as `vnu`. I have a very simple shell-script wrapper for this that invokes `java -jar`. - A very recent build of the W3C's [Nu HTML checker](https://github.com/validator/validator) to validate the HTML and XHTML, available on your `$PATH` as `vnu`. I have a very simple shell-script wrapper for this that invokes `java -jar`.
- [jq](https://stedolan.github.io/jq/), to filter false-positives from the Nu HTML checker and to verify that JSON files parse. - [jq](https://stedolan.github.io/jq/), to filter false-positives from the Nu HTML checker and to verify that JSON files parse.
- [HTMLProofer](https://github.com/gjtorikian/html-proofer), version 5 or later. Requires Ruby. - [HTMLProofer](https://github.com/gjtorikian/html-proofer), version 5 or later. Requires Ruby.
- W3C feed validator (requires Python)
More in-depth local tests: More in-depth local tests:
- Axe-Core, using the CLI and a headless browser (Firefox or Chromium). - Axe-Core, using the CLI and a headless browser (Firefox or Chromium).
- IBM Equal Access Checker, using the CLI and a headless Chromium. Runs on a patched version of the site with a modified stylesheet due to a bug (reported upstream). - IBM Equal Access Checker, using the CLI and a headless Chromium. Runs on a patched version of the site with all instances of `content-visibility` removed from the stylesheet. I do this to work around [a false-positive, reported upstream](https://github.com/IBMa/equal-access/issues/1008).
Remote tests: Remote tests:
- WebHint (normally run on every page in my sitemap)
- Lighthouse - Lighthouse
- WebHint (might not pass; only informative) - redbot
- Feed validator (requires Python)
## Build instructions ## Build instructions