Skip to content

Demonstrates testing accessibility on an LWC using axe tooling

Notifications You must be signed in to change notification settings

dfruddffdc/jest-axe-lwc-demo

Repository files navigation

jest-axe-lwc-demo

Sample app screenshot

A sample app for demonstrating tools for testing inclusive design.

Deployment

Prerequisites

  1. Install recommended extensions
  2. Install npm

Deploy

  1. Install dependencies:
    npm install
  2. Authenticate with a development hub:
    sfdx force:auth:web:login -a DevHub -d
  3. Create a scratch org:
    sfdx force:org:create -f config/project-scratch-def.json -s -a axe-demo
  4. Push the code
    sfdx force:source:push
  5. Assign permissions to the current user
    sfdx force:user:permset:assign -n JestAxeLwcDemo
  6. Open the org, on the User List tab
    sfdx force:org:open -p lightning/n/UserList

Local development

  1. Follow the Developer guide
  2. Start the local development server
    sfdx force:lightning:lwc:start
  3. Open the local development server at http://localhost:3333/.

About

Demonstrates testing accessibility on an LWC using axe tooling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published