All Projects → pa11y → Pa11y Dashboard

pa11y / Pa11y Dashboard

Licence: gpl-3.0
Pa11y Dashboard is a web interface which helps you monitor the accessibility of your websites

Projects that are alternatives of or similar to Pa11y Dashboard

Pa11y Webservice
Pa11y Webservice provides scheduled accessibility reports for multiple URLs
Stars: ✭ 122 (-84.5%)
Mutual labels:  mongo, accessibility, a11y
Skin
Pure CSS framework designed & developed by eBay for a branded, e-commerce marketplace.
Stars: ✭ 126 (-83.99%)
Mutual labels:  accessibility, a11y, less
Pa11y Ci
Pa11y CI is a CI-centric accessibility test runner, built using Pa11y
Stars: ✭ 291 (-63.02%)
Mutual labels:  accessibility, a11y
A11y Toggle
A tiny script for accessible content toggles.
Stars: ✭ 304 (-61.37%)
Mutual labels:  accessibility, a11y
A11y styled form controls
Various styled accessible form controls
Stars: ✭ 335 (-57.43%)
Mutual labels:  accessibility, a11y
Nextsimplestarter
🐳 Simple and Accessible PWA boilerplate with Nextjs 10 + React Hooks
Stars: ✭ 744 (-5.46%)
Mutual labels:  accessibility, a11y
Pa11y
Pa11y is your automated accessibility testing pal
Stars: ✭ 3,207 (+307.5%)
Mutual labels:  accessibility, a11y
A11yproject.com
The A11Y Project is a community-driven effort to make digital accessibility easier.
Stars: ✭ 3,436 (+336.59%)
Mutual labels:  accessibility, a11y
react-native-aria
A library of React Hooks for React-Native (Android/iOS/web) to provide accessible UI primitives for a design system.
Stars: ✭ 164 (-79.16%)
Mutual labels:  accessibility, a11y
Koa11y
Easily check for website accessibility issues
Stars: ✭ 403 (-48.79%)
Mutual labels:  accessibility, a11y
Accessible components
Listing of accessible components & patterns
Stars: ✭ 393 (-50.06%)
Mutual labels:  accessibility, a11y
Accesslint.js
Keep accessibility errors in check.
Stars: ✭ 423 (-46.25%)
Mutual labels:  accessibility, a11y
Js Offcanvas
A lightweight, flexible jQuery off-canvas navigation plugin which lets you create fully accessible sidebar or top/bottom sliding (or push) panels with keyboard interactions and ARIA attributes.
Stars: ✭ 272 (-65.44%)
Mutual labels:  accessibility, a11y
Accessibility
A repo to organize the guidelines and best practices for accessibility at 18f.
Stars: ✭ 269 (-65.82%)
Mutual labels:  accessibility, a11y
A11y Courses
Courses offered in web accessibility (and other learning opportunities)
Stars: ✭ 288 (-63.41%)
Mutual labels:  accessibility, a11y
Whocanuse
WhoCanUse is a tool that brings attention and understanding to how color contrast can affect different people with visual impairments.
Stars: ✭ 259 (-67.09%)
Mutual labels:  accessibility, a11y
Checka11y.css
A CSS stylesheet to quickly highlight a11y concerns.
Stars: ✭ 313 (-60.23%)
Mutual labels:  accessibility, a11y
A11y Style Guide
Accessibility (A11Y) Style Guide
Stars: ✭ 493 (-37.36%)
Mutual labels:  accessibility, a11y
a11ymyths
a11ymyths.com
Stars: ✭ 26 (-96.7%)
Mutual labels:  accessibility, a11y
chaarts
Charts with HTML & CSS
Stars: ✭ 79 (-89.96%)
Mutual labels:  accessibility, a11y

Pa11y Dashboard

Pa11y Dashboard is a web interface to the Pa11y accessibility reporter; allowing you to focus on fixing issues rather than hunting them down.

Version Node.js version support Build status GPL-3.0 licensed

dashboard results-page


Requirements

Pa11y Dashboard is a Node.js application and requires a stable or LTS version of Node, currently version 8 or greater.

Pa11y Dashboard also requires a MongoDB database to be available so it can store the results of the tests. The database doesn't have to be in the same server or computer where Pa11y Dashboard is running from.

Since version 3, Pa11y Dashboard uses Headless Chrome in order to run the tests. This means that additional dependencies maybe be required.

In Unix-like systems you may need to install the libnss3 and libgconf-2-4 libraries in order to be able to run Chrome. If you're trying to run the app in a headless environment (e.g. the cloud, or a headless server), you may also need to configure Xvfb before. Please refer to the documentation from your provider for details on how to do this.

Setup

In order to run Pa11y Dashboard, we recommend cloning this repository locally:

git clone https://github.com/pa11y/pa11y-dashboard.git

Then installing the dependencies:

cd pa11y-dashboard
npm install

You'll also need to have MongoDB installed and running. For quick access, you can install via a package manager such as on Mac OS brew install mongodb or on Linux (Debian) it would be apt-get install mongodb. To run MongoDB, you can run mongod in the command line. See the MongoDB install guide for more detailed information.

The last step before being able to run the application is to define a configuration for it. This can be done in two ways:

Option 1: Using Environment Variables

Each configuration can be set with an environment variable rather than a config file. For example to run the application on port 8080 you can use the following:

PORT=8080 node index.js

The available configurations are documented here.

Option 2: Using Config Files

You'll need to copy and modify different config files depending on your environment (set with NODE_ENV):

cp config/development.sample.json config/development.json
cp config/production.sample.json config/production.json
cp config/test.sample.json config/test.json

Each of these files defines configurations for a different environment. If you're just running the application locally, then you should be OK with just development and test configurations. The available configurations are documented here.

Now that you've got your application configured, make sure you have a MongoDB server running with the mongod command in another terminal window. You can run in each mode by changing the NODE_ENV environment variable:

NODE_ENV=development node index.js

See Contributing for more information about running locally (and restarting automatically when files change).

If you run into problems, check the troubleshooting guide.

Configurations

The boot configurations for Pa11y Dashboard are as follows. Look at the sample JSON files in the repo for example usage.

port

(number) The port to run the application on. Set via a config file or the PORT environment variable.

noindex

(boolean) If set to true (default), the dashboard will not be indexed by search engines. Set to false to allow indexing. Set via a config file or the NOINDEX environment variable.

readonly

(boolean) If set to true, users will not be able to add, delete or run URLs (defaults to false). Set via a config file or the READONLY environment variable.

siteMessage

(string) A message to display prominently on the site home page. Defaults to null.

webservice

This can either be an object containing Pa11y Webservice configurations, or a string which is the base URL of a [Pa11y Webservice][pa11y-webservice] instance you are running separately. If using environment variables, prefix the webservice vars with WEBSERVICE_.

Contributing

There are many ways to contribute to Pa11y Dashboard, we cover these in the contributing guide for this repo.

If you're ready to contribute some code, you'll need to clone the repo and get set up as outlined in the setup guide. You'll then need to start the application in test mode with:

NODE_ENV=test node index.js

You'll now be able to run the following commands:

make verify              # Verify all of the code (ESLint)
make test                # Run all tests
make test-integration    # Run the integration tests

To compile the client-side JavaScript and CSS, you'll need the following commands. Compiled code is committed to the repository.

make less    # Compile the site CSS from LESS files
make uglify  # Compile and uglify the client-side JavaScript

Useful Resources

Support and Migration

Pa11y Dashboard major versions are normally supported for 6 months after their last minor release. This means that patch-level changes will be added and bugs will be fixed. The table below outlines the end-of-support dates for major versions, and the last minor release for that version.

We also maintain a migration guide to help you migrate.

Major Version Last Minor Release Node.js Versions Support End Date
❤️ 3 N/A 8+ N/A
⌛️ 2 2.4.2 4+ 2020-01-16
💀 1 1.12 0.10–6 2016-12-05

If you're opening issues related to these, please mention the version that the issue relates to.

License

Pa11y Dashboard is licensed under the GNU General Public License 3.0.
Copyright © 2013–2020, Team Pa11y and contributors

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].