CCALI / a2jdat

This repo hosts the distributable production version of the A2J Document Assembly Tool (DAT). The document assembly tool is an optional piece of software used for producing pdf documents at the end of A2J Author Guided Interviews.
https://www.a2jauthor.org
Other
3 stars 1 forks source link

Fix validation errors #93

Open chasenlehara opened 2 years ago

chasenlehara commented 2 years ago

As a user of assistive technology (AT), I do not want the preview document to include validation errors, so that my AT can accurately interpret and parse content.

chasenlehara commented 2 years ago

I was not able to find a good npm package for html validation. Above I linked to a commit that uses html-validate, but it didn’t return the only error that the W3C validator complained about:

W3C validator error

The asset-id error above is unlikely to create an actual issue with ATs, so I think it’s safe to fix this at a later date (if possible).