Articles for January 2nd, 2019

Using Gherkin To Write Accessibility Tests

Numerous accessibility automation tools, libraries and APIs are already available (including aXe, Pa11y, Google Accessibility Tools) which can be used to check whether code has been marked up to meet accessibility standards. But these don’t cover many of the tests you’d wish to make against WCAG success criteria, which aren’t about code, but about the how the page should respond to the user’s behaviour, such as tabbing. This blog discusses how the popular Gherkin language, which is often used for defining user acceptance test scenarios, and integrates easily with many automation frameworks including Ruby/Cucumber, PHP/Behat and .NET/SpecFlow (amongst others), can be used to write acceptance tests for these user behaviour tests…

Tags: , , ,