Leverage Node native path function to perform OS-independent check.
Ideally this change would also have a test run on Windows to confirm it works there, but expanding the pa11y projects' test suites to other OS's seemed like a larger change that should be made for all projects if implemented.
Leverage Node native path function to perform OS-independent check.
Ideally this change would also have a test run on Windows to confirm it works there, but expanding the pa11y projects' test suites to other OS's seemed like a larger change that should be made for all projects if implemented.