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

test: add a11y reporting using axe-puppeteer #12743

Closed

Commits on Dec 9, 2018

  1. test: add a11y reporting using axe-puppeteer

    Happy WordCamp contributor day!
    
    This patch introduces accessibility testing using [`axe-puppeteer`](https://github.com/dequelabs/axe-puppeteer). Each one of the existing E2E tests now runs `AxePuppeteer#analyze()` on the relevant portion(s) of the DOM and outputs the returned a11y violations to stderr.
    
    In time, as these accessibility problems are fixed, the logging could be replaced with assertions, ensuring no "new" problems are introduced into the codebase.
    
    This patch is similar to WordPress#10695, but uses a more complete a11y testing tool and does not introduce new test failures.
    stephenmathieson committed Dec 9, 2018
    Copy the full SHA
    ae70e9c View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2018

  1. Copy the full SHA
    654179c View commit details
    Browse the repository at this point in the history