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

False positives when testing invalid URLs #4

Open
vbence86 opened this issue Sep 22, 2017 · 0 comments
Open

False positives when testing invalid URLs #4

vbence86 opened this issue Sep 22, 2017 · 0 comments

Comments

@vbence86
Copy link
Contributor

Disclaimer

This package employs express with static middleware. When the test is kicked off with an invalid URL express responds with HTTP 200 and displays some default content that appears something like this:

Cannot GET /

Subsequently axe-core is going to run all accessibility checks against this HTML segment that will obviously contain no accessibility violations resulting in a successful test.

Todo

Add functionality to terminate the test when the URL is invalid.

Notes

Express exposes this functionality already, thus it only needs to be configured in this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant