Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293221

Automated A11y tests in Nightwatch

$
0
0

Problem/Motivation

In an issue in a different queue @dmundra figured out how to integrate Axe testing into our Nightwatch tests: #2857808: Automate Accessibility Checks for Core. In the time since that discovery, Nightwatch has added Axe support, so this can be done without any new dependencies.

Steps to reproduce

Proposed resolution

  • Create a profile for a11y testing
  • Create default and admin theme tests that visit a few common pages which are then scanned with Axe
  • Ideally, some of these tests will include a few failing tests, so we can verify Axe is doing its job and establish the value of these tests.
  • Update readme with info on running a11y tests

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Core Nightwatch tests now include Axe accessibility scans that check common pages and forms for accessibility bugs.


Viewing all articles
Browse latest Browse all 293221

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>