Salesforce Automated Accessibility Testing Libraries
107
stars
888
commits
TypeScript
primary language
Sep 11, 2026
updated
Automated Accessibility Testing Libraries and Tools (@sa11y packages) based on axe-core providing support for Jest unit tests, Vitest unit tests, WebdriverIO component/integration tests used by teams in Salesforce. However, they are not specific to Salesforce and can be used to test any UI supported by axe-core for accessibility. These libraries are designed to be flexible, customizable and reusable to support automated accessibility testing in different testing workflows from unit to integration tests.
This repo contains the following packages for automated accessibility testing:
toBeAccessible() accessibility matcher for Jest

toBeAccessible() accessibility matcher for VitestassertAccessible(), assertAccessibleSync() APIs that can be used with WebdriverIO to check accessibility of web pages rendered in browsers
axe.run use this packagegroupViolationResultsProcessor also made available to group the a11y violations per jest test case as the existing formatter would generate test failures for each violation@sa11y libraries to be injected into a browser (using webdriver) and executed from integration testing workflows.@sa11y packages@sa11y packages across different environments@sa11y packagesA wise person once said…
"Don't talk to me until I've had coffee and you've run axe"

(Image courtesy: @shleewhite, @jorycunningham)
TypeScript
89.7%
JavaScript
7.8%
HTML
2.4%
Salesforce Automated Accessibility Testing Libraries
107
stars
888
commits
TypeScript
primary language
Sep 11, 2026
updated
Automated Accessibility Testing Libraries and Tools (@sa11y packages) based on axe-core providing support for Jest unit tests, Vitest unit tests, WebdriverIO component/integration tests used by teams in Salesforce. However, they are not specific to Salesforce and can be used to test any UI supported by axe-core for accessibility. These libraries are designed to be flexible, customizable and reusable to support automated accessibility testing in different testing workflows from unit to integration tests.
This repo contains the following packages for automated accessibility testing:
toBeAccessible() accessibility matcher for Jest

toBeAccessible() accessibility matcher for VitestassertAccessible(), assertAccessibleSync() APIs that can be used with WebdriverIO to check accessibility of web pages rendered in browsers
axe.run use this packagegroupViolationResultsProcessor also made available to group the a11y violations per jest test case as the existing formatter would generate test failures for each violation@sa11y libraries to be injected into a browser (using webdriver) and executed from integration testing workflows.@sa11y packages@sa11y packages across different environments@sa11y packagesA wise person once said…
"Don't talk to me until I've had coffee and you've run axe"

(Image courtesy: @shleewhite, @jorycunningham)
TypeScript
89.7%
JavaScript
7.8%
HTML
2.4%