You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Disclaimer
This package employs
express
withstatic
middleware. When the test is kicked off with an invalid URLexpress
responds with HTTP 200 and displays some default content that appears something like this: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.
The text was updated successfully, but these errors were encountered: