Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix validation errors #93

Open
chasenlehara opened this issue Dec 2, 2021 · 1 comment
Open

Fix validation errors #93

chasenlehara opened this issue Dec 2, 2021 · 1 comment
Labels
a11y Accessibility

Comments

@chasenlehara
Copy link

chasenlehara commented Dec 2, 2021

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 chasenlehara self-assigned this Dec 2, 2021
chasenlehara pushed a commit that referenced this issue Dec 27, 2021
This adds `html-validate` to validate the preview HTML.

This is a draft because it only returned non-critical errors and didn’t match with the W3C validator.

Part of #93
@chasenlehara
Copy link
Author

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).

@chasenlehara chasenlehara removed their assignment Dec 27, 2021
@chasenlehara chasenlehara added the a11y Accessibility label Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility
Projects
None yet
Development

No branches or pull requests

1 participant