nhsx / standards-registry

The service powering the NHS standards directory
https://data.standards.nhs.uk
MIT License
4 stars 5 forks source link

[STAN-1007] Add HTML validation to integration suite #353

Closed roc closed 1 year ago

roc commented 1 year ago

This PR adds rudimentary html validation using the cypress html validate plugin.

A number of small HTML validation changes have been added:

It introduces an html validation step in the same location as the a11y checking.

We are ignoring warnings relating to "correct" ID attributes, as next inserts some of these We are also ignoring subresource integrity (SRI) warnings, as we're not using a CDN