All Projects → salesforce → sa11y

salesforce / sa11y

Licence: BSD-3-Clause, Unknown licenses found Licenses found BSD-3-Clause LICENSE.txt Unknown license-header.txt
Salesforce Automated Accessibility Testing Libraries

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to sa11y

Pa11y
Pa11y is your automated accessibility testing pal
Stars: ✭ 3,207 (+5429.31%)
Mutual labels:  accessibility, accessibility-testing
lint-html-with-css
Lint HTML with CSS. A collection of CSS snippets from the hashtag #lintHTMLwithCSS on twitter. These CSS snippets intend to warn developers about common mistakes made in HTML.
Stars: ✭ 35 (-39.66%)
Mutual labels:  accessibility, test
sa11y
Sa11y is an accessibility quality assurance tool that visually highlights common accessibility and usability issues. Geared towards content authors, Sa11y straightforwardly identifies errors or warnings at the source with a simple tooltip on how to fix them.
Stars: ✭ 137 (+136.21%)
Mutual labels:  accessibility, accessibility-testing
sfdx-lwc-jest
Run Jest against LWC components in SFDX workspace environment
Stars: ✭ 136 (+134.48%)
Mutual labels:  test, salesforce
A11y.css
This CSS file intends to warn developers about possible risks and mistakes that exist in HTML code. It can also be used to roughly evaluate a site's quality by simply including it as an external stylesheet.
Stars: ✭ 1,277 (+2101.72%)
Mutual labels:  accessibility, test
Axe Core
Accessibility engine for automated Web UI testing
Stars: ✭ 4,293 (+7301.72%)
Mutual labels:  accessibility, axe
DomainAccessibilityAudit
Web application to create domain and subdomain accessibility audits, with violation statistics.
Stars: ✭ 41 (-29.31%)
Mutual labels:  accessibility, axe
Thea11ymachine
The A11y Machine is an automated accessibility testing tool which crawls and tests pages of any web application to produce detailed reports.
Stars: ✭ 574 (+889.66%)
Mutual labels:  accessibility, test
wire-service-jest-util
Utility library for @-wire Lightning Web Component tests
Stars: ✭ 18 (-68.97%)
Mutual labels:  test, salesforce
accessibility-resources
Screen reader and WCAG testing resources to maintain a consistent approach to testing and documenting behaviour.
Stars: ✭ 25 (-56.9%)
Mutual labels:  accessibility, accessibility-testing
omnibang
Browser extension for searching many sites directly from address bar using bangs provided by DuckDuckGo.
Stars: ✭ 31 (-46.55%)
Mutual labels:  accessibility
htest
htest is a http-test package
Stars: ✭ 24 (-58.62%)
Mutual labels:  test
es-feature-detection
ECMAScript feature and API detection
Stars: ✭ 16 (-72.41%)
Mutual labels:  test
texei-sfdx-plugin
Texeï's plugin for sfdx
Stars: ✭ 99 (+70.69%)
Mutual labels:  salesforce
sfdx-git-packager
Generates a "delta" metadata package based on the difference between two git refs (branches/commits)
Stars: ✭ 93 (+60.34%)
Mutual labels:  salesforce
last fm
A simple app to demonstrate a testable, maintainable, and scalable architecture for flutter. flutter_bloc, get_it, hive, and REST API are some of the tech stacks used in this project.
Stars: ✭ 134 (+131.03%)
Mutual labels:  test
bones
Accessible HTML code patterns for common UI widgets such as tabs, menus, dialogs, etc.
Stars: ✭ 79 (+36.21%)
Mutual labels:  accessibility
timeline-component-lwc
This component enables timeline view for Salesforce Record history.
Stars: ✭ 18 (-68.97%)
Mutual labels:  salesforce
thankyounext
Next.js starter template featuring Preact, TypeScript, Tailwind CSS and much more
Stars: ✭ 18 (-68.97%)
Mutual labels:  accessibility
octane-testbench
⛽ Set of utilities to test Laravel applications powered by Octane.
Stars: ✭ 35 (-39.66%)
Mutual labels:  test

Salesforce Accessibility Automation Libraries

Automated Accessibility Testing Libraries and Tools (@sa11y packages) based on axe-core providing support for Jest 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.

Sa11y Code Coverage semantic-release License NPM downloads per month of @sa11y/common package Known Vulnerabilities

Docs

References

Packages

This repo contains the following packages for automated accessibility testing:

Jest integration

published npm version of @sa11y/jest node-current (scoped)

  • Provides a toBeAccessible() accessibility matcher for Jest
  • Provides an option to set up the sa11y API to be invoked automatically at the end of each test
  • To add accessibility testing to your Jest tests use this package

Screenshot showing Sa11y Jest API usage and a11y errors showing up in VSCode

WDIO integration

published npm version of @sa11y/wdio node-current (scoped)

  • Provides assertAccessible(), assertAccessibleSync() APIs that can be used with WebdriverIO to check accessibility of web pages rendered in browsers

Screenshot showing a11y errors from a test using Sa11y WDIO in a terminal

assertAccessible API

published npm version of @sa11y/assert node-current (scoped)

  • Checks DOM or HTML Element for accessibility issues and throws an error if a11y issues are found
  • To add accessibility testing to your Javascript unit tests not using Jest, use this package

a11y results formatter

published npm version of @sa11y/format node-current (scoped)

  • Formats raw JSON output of a11y issues from axe into an easy to consume format by consolidating and cross-referencing
  • Used by assert Accessible API and Jest a11y matcher
  • To use axe directly and want to format the results from axe.run use this package

Preset accessibility rules

published npm version of @sa11y/preset-rules node-current (scoped)

  • Provides Base, Extended, Full accessibility preset rules as axe configuration
  • The Base preset rule is used by default in the Jest a11y matcher and assert Accessible APIs
    • The APIs can be overridden to use the Extended or Full ruleset as necessary

Minified bundle for testing in browser

published npm version of @sa11y/browser-lib node-current (scoped)

  • Provides a minified version of selected @sa11y libraries to be injected into a browser (using webdriver) and executed from integration testing workflows.

Internal packages

Test utilities

  • Private package providing test utilities for @sa11y packages

Integration Tests

  • Private package providing integration tests for @sa11y packages

Common

  • Common utilities, constants, error messages for @sa11y packages

Dependency graph

Dependency graph of sa11y packages


Epilogue

A wise person once said…

"Don't talk to me until I've had coffee and you've run axe"

Embroidery that says "Don't talk to me until I've had coffee and you've run axe" in a hoop

(Image courtesy: @shleewhite, @jorycunningham)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].