@fesk/accessibility-plugin

1.2.2 • Public • Published

FESK Accessibility

Runs accessibility tests against a static site.

Currently this CLI is not configurable to much degree, it expects a dist/ folder in the root of the project and it will run a standard set of accessibility tests against all html files in that folder.

There is also a .screenshots folder generated to see the results of the tests. You can add this to your .gitignore of your project.

Installation (globally)

Globally:

$ npm install @fesk/accessibility-plugin -g

In project:

$ npm install @fesk/accessibility-plugin --save-dev

Usage

In package.json (recommended)

{
  "scripts": {
    "test:accessibility": "fesk-accessibility"
  }
}

From CLI:

$ fesk-accessibility

Configuration

Changing the port of the webserver via package.json, defaults to port 5000.

{
  "serverPort": "8000"
}

/@fesk/accessibility-plugin/

    Package Sidebar

    Install

    npm i @fesk/accessibility-plugin

    Weekly Downloads

    0

    Version

    1.2.2

    License

    MIT

    Unpacked Size

    8.71 kB

    Total Files

    4

    Last publish

    Collaborators

    • stephenwf