forked from external-repos/pa11y-dashboard
Compare commits
7 Commits
results-la
...
4.1.0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0072fe8965 | ||
![]() |
30c1ff171d | ||
![]() |
a0b3fa843f | ||
![]() |
a424cfade7 | ||
![]() |
cbc9da2d93 | ||
![]() |
19f4d32bf0 | ||
![]() |
ff87055cc4 |
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@@ -17,10 +17,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- node-version: 8.x
|
|
||||||
lint: true # Linter is run only once to shorten the total build time
|
|
||||||
- node-version: 10.x
|
|
||||||
- node-version: 12.x
|
- node-version: 12.x
|
||||||
|
lint: true # Linter is run only once to shorten the total build time
|
||||||
|
- node-version: 14.x
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code from ${{ github.repository }}
|
- name: Checkout code from ${{ github.repository }}
|
||||||
|
11
CHANGELOG.md
11
CHANGELOG.md
@@ -1,5 +1,16 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 4.1.0 (2021-11-26)
|
||||||
|
|
||||||
|
* Add support for new WCAG 2.1 rules and remove all references to Section 508.
|
||||||
|
* Move troubleshooting guide to the README.
|
||||||
|
|
||||||
|
## 4.0.0 (2021-11-26)
|
||||||
|
|
||||||
|
* Update pa11y to version 6.
|
||||||
|
* Drop support for versions of Node.js older than 12.
|
||||||
|
* Update MongoDB Node driver from v2 to v3, which adds support for MongoDB v4 databases.
|
||||||
|
|
||||||
## 3.3.0 (2021-04-27)
|
## 3.3.0 (2021-04-27)
|
||||||
|
|
||||||
* Add new list view to the dashboard (thanks @sangitamane)
|
* Add new list view to the dashboard (thanks @sangitamane)
|
||||||
|
22
MIGRATION.md
22
MIGRATION.md
@@ -2,12 +2,22 @@
|
|||||||
|
|
||||||
Pa11y Dashboard's API changes between major versions. This is a guide to help you make the switch when this happens.
|
Pa11y Dashboard's API changes between major versions. This is a guide to help you make the switch when this happens.
|
||||||
|
|
||||||
## Table of Contents
|
## Table of contents
|
||||||
|
|
||||||
- [Migrating from 2.0 to 3.0](#migrating-from-20-to-30)
|
* [Table of contents](#table-of-contents)
|
||||||
- [Migrating from 1.0 to 2.0](#migrating-from-10-to-20)
|
* [Migrating from 3.0 to 4.0](#migrating-from-30-to-40)
|
||||||
|
* [Migrating from 2.0 to 3.0](#migrating-from-20-to-30)
|
||||||
|
* [PhantomJS to Headless Chrome](#phantomjs-to-headless-chrome)
|
||||||
|
* [Node.js Support](#nodejs-support)
|
||||||
|
* [Miscellaneous](#miscellaneous)
|
||||||
|
* [Migrating from 1.0 to 2.0](#migrating-from-10-to-20)
|
||||||
|
* [Node.js Support](#nodejs-support-1)
|
||||||
|
|
||||||
## Migrating from 2.0 to 3.0
|
## Migrating from 3.0 to 4.0
|
||||||
|
|
||||||
|
Pa11y Dashboard requires Node.js version 12 or greater. Versions 8 and 10 are not supported any more.
|
||||||
|
|
||||||
|
## Migrating from 2.0 to 3.0
|
||||||
|
|
||||||
### PhantomJS to Headless Chrome
|
### PhantomJS to Headless Chrome
|
||||||
|
|
||||||
@@ -17,13 +27,13 @@ As a result of this change, [Pa11y Dashboard's requirements](../README.md#requir
|
|||||||
|
|
||||||
### Node.js Support
|
### Node.js Support
|
||||||
|
|
||||||
Pa11y Webservice 3 requires Node.js version 8 or greater. Versions 4 and 6 are not supported any more.
|
Pa11y Dashboard 3 requires Node.js version 8 or greater. Versions 4 and 6 are not supported any more.
|
||||||
|
|
||||||
### Miscellaneous
|
### Miscellaneous
|
||||||
|
|
||||||
The default viewport dimensions for Pa11y have been changed from `1024x768` to `1280x1024`. This could make pa11y report a different number of errors if different content appears on the page based on its width, so results obtained with v2 and v3 may not be comparable.
|
The default viewport dimensions for Pa11y have been changed from `1024x768` to `1280x1024`. This could make pa11y report a different number of errors if different content appears on the page based on its width, so results obtained with v2 and v3 may not be comparable.
|
||||||
|
|
||||||
## Migrating from 1.0 to 2.0
|
## Migrating from 1.0 to 2.0
|
||||||
|
|
||||||
### Node.js Support
|
### Node.js Support
|
||||||
|
|
||||||
|
43
README.md
43
README.md
@@ -14,7 +14,9 @@ Pa11y Dashboard is a web interface to the [Pa11y][pa11y] accessibility reporter;
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
Pa11y Dashboard is a [Node.js][node] application and requires a stable or LTS version of Node, currently version 8 or greater.
|
Pa11y Dashboard is a [Node.js][node] application and requires a stable or LTS version of Node, currently version 12 or 14.
|
||||||
|
|
||||||
|
⚠️ At the moment, Pa11y Dashboard won't work with Node.js v16. Please use Node.js 12 or 14. ⚠️
|
||||||
|
|
||||||
Pa11y Dashboard uses a [MongoDB][mongo] database to 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.
|
Pa11y Dashboard uses a [MongoDB][mongo] database to 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.
|
||||||
|
|
||||||
@@ -39,28 +41,32 @@ npm install
|
|||||||
|
|
||||||
Instructions for installing and running MongoDB are outside the scope of this document. When in doubt, please refer to the [MongoDB installation instructions](https://docs.mongodb.com/manual/installation/) for details of how to install and run MongoDB on your specific operating system. An example of the installation and configuration process for macOS follows.
|
Instructions for installing and running MongoDB are outside the scope of this document. When in doubt, please refer to the [MongoDB installation instructions](https://docs.mongodb.com/manual/installation/) for details of how to install and run MongoDB on your specific operating system. An example of the installation and configuration process for macOS follows.
|
||||||
|
|
||||||
Pa11y Dashboard currently uses version `2.2` of the Node.js MongoDB driver, which means that [only MongoDB servers of versions 3.4 or older are supported](https://docs.mongodb.com/drivers/node/compatibility/). Please ensure that your MongoDB server fills the requirements before trying to run Pa11y Dashboard.
|
Pa11y Dashboard currently uses version 3 of the Node.js MongoDB driver, which means that [only MongoDB servers of versions 4.4 or older are supported](https://docs.mongodb.com/drivers/node/current/compatibility/#mongodb-compatibility). Please ensure that your MongoDB server fills the requirements before trying to run Pa11y Dashboard.
|
||||||
|
|
||||||
#### Example MongoDB installation for macOS
|
#### Example MongoDB installation for macOS
|
||||||
|
|
||||||
On recent versions of macOS (10.13 or later), you can use [Homebrew](https://brew.sh/) to install MongoDB 3.4 Community Edition. More recent versions of MongoDB are untested and unsupported.
|
On recent versions of macOS (10.13 or later), you can use [Homebrew](https://brew.sh/) to install MongoDB Community Edition. More recent versions of MongoDB are untested and unsupported.
|
||||||
|
|
||||||
Tap the MongoDB Homebrew Tap:
|
Tap the MongoDB Homebrew Tap:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
brew tap mongodb/brew
|
brew tap mongodb/brew
|
||||||
```
|
```
|
||||||
|
|
||||||
Install the Community version of MongoDB:
|
Install a supported Community version of MongoDB:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
brew install mongodb-community@3.4
|
brew install mongodb-community@4.4
|
||||||
```
|
```
|
||||||
|
|
||||||
Start the MongoDB server:
|
Start the MongoDB server:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
brew services start mongodb/brew/mongodb-community@3.4
|
brew services start mongodb/brew/mongodb-community@4.4
|
||||||
```
|
```
|
||||||
|
|
||||||
Check that the service has started properly:
|
Check that the service has started properly:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ brew services list
|
$ brew services list
|
||||||
Name Status User Plist
|
Name Status User Plist
|
||||||
@@ -99,7 +105,7 @@ cp config/test.sample.json config/test.json
|
|||||||
|
|
||||||
The [available configurations](#configurations) are documented in the next section.
|
The [available configurations](#configurations) are documented in the next section.
|
||||||
|
|
||||||
If you run into problems, check the [troubleshooting guide][TROUBLESHOOTING.md].
|
If you run into problems, check the [troubleshooting guide][#troubleshooting].
|
||||||
|
|
||||||
## Configurations
|
## Configurations
|
||||||
|
|
||||||
@@ -150,11 +156,22 @@ make less # Compile the site CSS from LESS files
|
|||||||
make uglify # Compile and uglify the client-side JavaScript
|
make uglify # Compile and uglify the client-side JavaScript
|
||||||
```
|
```
|
||||||
|
|
||||||
## Useful Resources
|
## Useful resources
|
||||||
|
|
||||||
* [Setting up An Accessibility Dashboard from Scratch with Pa11y on DigitalOcean](https://una.im/pa11y-dash/)
|
* [Setting up An Accessibility Dashboard from Scratch with Pa11y on DigitalOcean](https://una.im/pa11y-dash/)
|
||||||
* [Monitoring Web Accessibility Compliance With Pa11y Dashboard](https://www.lullabot.com/articles/monitoring-web-accessibility-compliance-with-pa11y-dashboard)
|
* [Monitoring Web Accessibility Compliance With Pa11y Dashboard](https://www.lullabot.com/articles/monitoring-web-accessibility-compliance-with-pa11y-dashboard)
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
|
||||||
|
### Common issues
|
||||||
|
|
||||||
|
* `500` errors or `Could not connect to pa11y-webservice` messages are often related to MongoDB. Ensure that you have the [appropriate version of MongoDB][#installing-mongodb] installed, and that it's running - it doesn't always start automatically.
|
||||||
|
* Error messages saying that pa11y-webservice isn't running may be due to dependency installation problems. Try deleting your `pa11y-dashboard/node_modules` directory and running `npm install` again.
|
||||||
|
|
||||||
|
### Create a new issue
|
||||||
|
|
||||||
|
Check the [issue tracker][issues] for similar issues before creating a new one. If the problem that you're experiencing is not covered by one of the existing issues, you can [create a new issue][create-issue]. Please include your node.js and MongoDB version numbers, and your operating system, as well as any information that may be useful in debugging the issue.
|
||||||
|
|
||||||
## Support and Migration
|
## 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.
|
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.
|
||||||
@@ -163,8 +180,9 @@ We also maintain a [migration guide](MIGRATION.md) to help you migrate.
|
|||||||
|
|
||||||
| :grey_question: | Major Version | Last Minor Release | Node.js Versions | Support End Date |
|
| :grey_question: | Major Version | Last Minor Release | Node.js Versions | Support End Date |
|
||||||
| :-------------- | :------------ | :----------------- | :--------------- | :--------------- |
|
| :-------------- | :------------ | :----------------- | :--------------- | :--------------- |
|
||||||
| :heart: | 3 | N/A | 8+ | N/A |
|
| :heart: | 4 | N/A | 12+ | N/A |
|
||||||
| :hourglass: | 2 | 2.4.2 | 4+ | 2020-01-16 |
|
| :hourglass: | 3 | 3.3.0 | 8+ | 2022-05-26 |
|
||||||
|
| :skull: | 2 | 2.4.2 | 4+ | 2020-01-16 |
|
||||||
| :skull: | 1 | 1.12 | 0.10–6 | 2016-12-05 |
|
| :skull: | 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.
|
If you're opening issues related to these, please mention the version that the issue relates to.
|
||||||
@@ -179,9 +197,8 @@ Copyright © 2013–2020, Team Pa11y and contributors
|
|||||||
[node]: http://nodejs.org/
|
[node]: http://nodejs.org/
|
||||||
[pa11y]: https://github.com/pa11y/pa11y
|
[pa11y]: https://github.com/pa11y/pa11y
|
||||||
[pa11y-webservice-config]: https://github.com/pa11y/webservice#configurations
|
[pa11y-webservice-config]: https://github.com/pa11y/webservice#configurations
|
||||||
[travis]: https://travis-ci.org/pa11y/dashboard
|
[issues]: https://github.com/pa11y/pa11y-dashboard/issues?utf8=%E2%9C%93&q=is%3Aissue
|
||||||
[travis-img]: https://travis-ci.org/pa11y/dashboard.png?branch=master
|
[create-issue]: https://github.com/pa11y/pa11y-dashboard/issues/new
|
||||||
|
|
||||||
[info-node]: package.json
|
[info-node]: package.json
|
||||||
[info-build]: https://travis-ci.org/pa11y/pa11y-dashboard
|
[info-build]: https://travis-ci.org/pa11y/pa11y-dashboard
|
||||||
[info-license]: LICENSE
|
[info-license]: LICENSE
|
||||||
|
@@ -1,27 +0,0 @@
|
|||||||
Troubleshooting
|
|
||||||
===============
|
|
||||||
|
|
||||||
|
|
||||||
Common issues
|
|
||||||
-----
|
|
||||||
|
|
||||||
* `500` errors or `Could not connect to pa11y-webservice` messages are often related to MongoDB. Ensure that you have the [latest version of MongoDB][mongo-install] installed, and that it's running - it doesn't always start automatically.
|
|
||||||
* Error messages saying that pa11y-webservice isn't running may be due to dependency installation problems. Try deleting your `pa11y-dashboard/node_modules` directory and running `npm install` again.
|
|
||||||
|
|
||||||
|
|
||||||
Check to see if the issue has been reported
|
|
||||||
-----
|
|
||||||
|
|
||||||
* Check the [issue tracker][issues] for similar issues.
|
|
||||||
|
|
||||||
|
|
||||||
Create an issue
|
|
||||||
-----
|
|
||||||
|
|
||||||
If all else fails, [create an issue][create-issue] and we'll help you. Please include your node.js, Phantom, and MongoDB version numbers, and your operating system.
|
|
||||||
|
|
||||||
|
|
||||||
[issues]: https://github.com/pa11y/dashboard/issues?utf8=%E2%9C%93&q=is%3Aissue
|
|
||||||
[mongo-install]: https://docs.mongodb.org/manual/installation/
|
|
||||||
[create-issue]: https://github.com/pa11y/dashboard/issues/new
|
|
||||||
|
|
@@ -1,7 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// Clone the main config
|
// Clone the main config
|
||||||
var config = module.exports = JSON.parse(JSON.stringify(require('../.eslintrc')));
|
const config = module.exports = JSON.parse(JSON.stringify(require('../.eslintrc')));
|
||||||
|
|
||||||
// Disable max line length/statements
|
// Disable max line length/statements
|
||||||
config.rules['max-len'] = 'off';
|
config.rules['max-len'] = 'off';
|
||||||
|
@@ -20,211 +20,6 @@ module.exports = getStandards;
|
|||||||
|
|
||||||
function getStandards() {
|
function getStandards() {
|
||||||
return [
|
return [
|
||||||
{
|
|
||||||
title: 'Section508',
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Audio',
|
|
||||||
description: 'For multimedia containing audio only, ensure an alternative is available, such as a full text transcript.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Img.EmptyAltInLink',
|
|
||||||
description: 'Img element is the only content of the link, but is missing alt text. The alt text should describe the purpose of the link.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Img.NullAltWithTitle',
|
|
||||||
description: 'Img element with empty alt text must have absent or empty title attribute.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Img.Ignored',
|
|
||||||
description: 'Img element is marked so that it is ignored by Assistive Technology.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Img.MissingAlt',
|
|
||||||
description: 'Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Img.GeneralAlt',
|
|
||||||
description: 'Ensure that the img element\'s alt text serves the same purpose and presents the same information as the image.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.InputImage.MissingAlt',
|
|
||||||
description: 'Image submit button missing an alt attribute. Specify a text alternative that describes the button\'s function, using the alt attribute.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.InputImage.GeneralAlt',
|
|
||||||
description: 'Ensure that the image submit button\'s alt text identifies the purpose of the button.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Area.MissingAlt',
|
|
||||||
description: 'Area element in an image map missing an alt attribute. Each area element must have a text alternative that describes the function of the image map area.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Area.GeneralAlt',
|
|
||||||
description: 'Ensure that the area element\'s text alternative serves the same purpose as the part of image map image it references.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Object.MissingBody',
|
|
||||||
description: 'Object elements must contain a text alternative after all other alternatives are exhausted.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Object.GeneralAlt',
|
|
||||||
description: 'Check that short (and if appropriate, long) text alternatives are available for non-text content that serve the same purpose and present the same information.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Applet.MissingBody',
|
|
||||||
description: 'Applet elements must contain a text alternative in the element\'s body, for browsers without support for the applet element.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Applet.MissingAlt',
|
|
||||||
description: 'Applet elements must contain an alt attribute, to provide a text alternative to browsers supporting the element but are unable to load the applet.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.A.Applet.GeneralAlt',
|
|
||||||
description: 'Check that short (and if appropriate, long) text alternatives are available for non-text content that serve the same purpose and present the same information.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.B.Video',
|
|
||||||
description: 'For multimedia containing video, ensure a synchronised audio description or text alternative for the video portion is provided.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.B.Captions',
|
|
||||||
description: 'For multimedia containing synchronised audio and video, ensure synchronised captions are provided for the audio portion.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.C.Colour',
|
|
||||||
description: 'Ensure that any information conveyed using colour alone is also available without colour, such as through context or markup.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.D.Linearised',
|
|
||||||
description: 'Ensure that content is ordered in a meaningful sequence when linearised, such as when style sheets are disabled.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.D.HiddenText',
|
|
||||||
description: 'If content is hidden and made visible using scripting (such as "click to expand" sections), ensure this content is readable when scripts and style sheets are disabled.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.D.[msgCode]',
|
|
||||||
description: 'Semantic markup should be used to mark emphasised or special text so that it can be programmatically determined.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.D.HeadingOrder',
|
|
||||||
description: 'The heading structure is not logically nested. This [Node name, eg. h2] element appears to be the primary document heading, so should be an h1 element.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.D.HeadingOrder ',
|
|
||||||
description: 'The heading structure is not logically nested. This [Node name, eg. h4] element should be an [Expected heading node name, eg. h2] to be properly nested.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.G.TableHeaders',
|
|
||||||
description: 'This table has no headers. If this is a data table, ensure row and column headers are identified using th elements.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.H.IncorrectHeadersAttr',
|
|
||||||
description: 'Incorrect headers attribute on this td element. Expected "[Expected list of IDs]" but found "[Actual list of IDs]".'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.H.MissingHeadersAttrs',
|
|
||||||
description: 'The relationship between td elements and their associated th elements is not defined. As this table has multiple levels of th elements, you must use the headers attribute on td elements.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.H.MissingHeaderIds',
|
|
||||||
description: 'Not all th elements in this table contain an id attribute. These cells should contain ids so that they may be referenced by td elements headers attributes.\''
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.H.IncompleteHeadersAttrs',
|
|
||||||
description: 'Not all td elements in this table contain a headers attribute. Each headers attribute should list the ids of all th elements associated with that cell.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.I.Frames',
|
|
||||||
description: 'This [Node Name] element is missing title text. Frames should be titled with text that facilitates frame identification and navigation.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.J.Flicker',
|
|
||||||
description: 'Check that no component of the content flickers at a rate of greater than 2 and less than 55 times per second.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.K.AltVersion',
|
|
||||||
description: 'If this page cannot be made compliant, a text-only page with equivalent information or functionality should be provided. The alternative page needs to be updated in line with this page\'s content.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.L.EmptyAnchorNoId',
|
|
||||||
description: 'Anchor element found with no link content and no name and/or ID attribute.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.L.PlaceholderAnchor',
|
|
||||||
description: 'Anchor element found with link content, but no href, ID or name attribute has been supplied.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.L.NoContentAnchor',
|
|
||||||
description: 'Anchor element found with a valid href attribute, but no link content has been supplied.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.L.DblClick',
|
|
||||||
description: 'Ensure the functionality provided by double-clicking on this element is available through the keyboard.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.L.MouseOver',
|
|
||||||
description: 'Ensure the functionality provided by mousing over this element is available through the keyboard; for instance, using the focus event.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.L.MouseOut',
|
|
||||||
description: 'Ensure the functionality provided by mousing out of this element is available through the keyboard; for instance, using the blur event.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.L.MouseMove',
|
|
||||||
description: 'Ensure the functionality provided by moving the mouse on this element is available through the keyboard.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.L.MouseDown',
|
|
||||||
description: 'Ensure the functionality provided by mousing down on this element is available through the keyboard; for instance, using the keydown event.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.L.MouseUp',
|
|
||||||
description: 'Ensure the functionality provided by mousing up on this element is available through the keyboard; for instance, using the keyup event.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.M.PluginLink',
|
|
||||||
description: 'If external media requires a plugin or application to view, ensure a link is provided to a plugin or application that complies with Section 508 accessibility requirements for applications.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.N.Errors',
|
|
||||||
description: 'If an input error is automatically detected in this form, check that the item(s) in error are identified and the error(s) are described to the user in text.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.N.Labels',
|
|
||||||
description: 'Check that descriptive labels or instructions (including for required fields) are provided for user input in this form.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.N.KeyboardNav',
|
|
||||||
description: 'Ensure that this form can be navigated using the keyboard and other accessibility tools.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.O.SkipLinks',
|
|
||||||
description: 'Ensure that any common navigation elements can be bypassed; for instance, by use of skip links, header elements, or ARIA landmark roles.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.O.NoSuchID',
|
|
||||||
description: 'This link points to a named anchor [ID] within the document, but no anchor exists with that name.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.O.NoSuchIDFragment',
|
|
||||||
description: 'This link points to a named anchor [ID] within the document, but no anchor exists with that name in the fragment tested.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.P.TimeLimit',
|
|
||||||
description: 'If a timed response is required on this page, alert the user and provide sufficient time to allow them to indicate that more time is required.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.P.MetaRedirect',
|
|
||||||
description: 'Meta refresh tag used to redirect to another page, with a time limit that is not zero. Users cannot control this time limit.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Section508.P.MetaRefresh',
|
|
||||||
description: 'Meta refresh tag used to refresh the current page. Users cannot control the time limit for this refresh.'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: 'WCAG2A',
|
title: 'WCAG2A',
|
||||||
rules: [
|
rules: [
|
||||||
@@ -516,6 +311,10 @@ function getStandards() {
|
|||||||
name: 'WCAG2A.Principle2.Guideline2_1.2_1_2.F10',
|
name: 'WCAG2A.Principle2.Guideline2_1.2_1_2.F10',
|
||||||
description: 'Check that this applet or plugin provides the ability to move the focus away from itself when using the keyboard.'
|
description: 'Check that this applet or plugin provides the ability to move the focus away from itself when using the keyboard.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2A.1.Principle1.Guideline2_1.2_1_4.Check',
|
||||||
|
description: 'Check that if a keyboard shortcut is implemented in content using only letter (including upper- and lower-case letters), punctuation, number, or symbol characters, then at least one of the following is true: \nTurn off: A mechanism is available to turn the shortcut off;\nRemap: A mechanism is available to remap the shortcut to use one or more non- printable keyboard characters(e.g.Ctrl, Alt, etc);\nActive only on focus: The keyboard shortcut for a user interface component is only active when that component has focus.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2A.Principle2.Guideline2_2.2_2_1.F40.2',
|
name: 'WCAG2A.Principle2.Guideline2_2.2_2_1.F40.2',
|
||||||
description: 'Meta refresh tag used to redirect to another page, with a time limit that is not zero. Users cannot control this time limit.'
|
description: 'Meta refresh tag used to redirect to another page, with a time limit that is not zero. Users cannot control this time limit.'
|
||||||
@@ -536,6 +335,10 @@ function getStandards() {
|
|||||||
name: 'WCAG2A.Principle2.Guideline2_2.2_2_2.F47',
|
name: 'WCAG2A.Principle2.Guideline2_2.2_2_2.F47',
|
||||||
description: 'Blink elements cannot satisfy the requirement that blinking information can be stopped within five seconds.'
|
description: 'Blink elements cannot satisfy the requirement that blinking information can be stopped within five seconds.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2A.Principle1.Guideline2_2.2_2_6.Check',
|
||||||
|
description: 'Check that users are warned of the duration of any user inactivity that could cause data loss, unless the data is preserved for more than 20 hours when the user does not take any actions.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2A.Principle2.Guideline2_3.2_3_1.G19,G176',
|
name: 'WCAG2A.Principle2.Guideline2_3.2_3_1.G19,G176',
|
||||||
description: 'Check that no component of the content flashes more than three times in any 1-second period, or that the size of any flashing area is sufficiently small.'
|
description: 'Check that no component of the content flashes more than three times in any 1-second period, or that the size of any flashing area is sufficiently small.'
|
||||||
@@ -584,6 +387,38 @@ function getStandards() {
|
|||||||
name: 'WCAG2A.Principle2.Guideline2_4.2_4_4.H77,H78,H79,H80,H81',
|
name: 'WCAG2A.Principle2.Guideline2_4.2_4_4.H77,H78,H79,H80,H81',
|
||||||
description: 'Check that the link text combined with programmatically determined link context identifies the purpose of the link.'
|
description: 'Check that the link text combined with programmatically determined link context identifies the purpose of the link.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2A.Principle1.Guideline2_5.2_5_1.Check',
|
||||||
|
description: 'Check that all functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture, unless a multipoint or path-based gesture is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2A.Principle1.Guideline2_5.2_5_2.SinglePointer_Check',
|
||||||
|
description: 'Check that for functionality that can be operated using a single pointer, at least one of the following is true: \nNo Down- Event: The down - event of the pointer is not used to execute any part of the function; \nAbort or Undo: Completion of the function is on the up - event, and a mechanism is available to abort the function before completion or to undo the function after completion; \nUp Reversal: The up - event reverses any outcome of the preceding down - event; \nEssential: Completing the function on the down - event is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2A.Principle1.Guideline2_5.2_5_2.Mousedown_Check',
|
||||||
|
description: 'This element has an mousedown event listener. Check that for functionality that can be operated using a single pointer, at least one of the following is true: \nNo Down- Event: The down - event of the pointer is not used to execute any part of the function; \nAbort or Undo: Completion of the function is on the up - event, and a mechanism is available to abort the function before completion or to undo the function after completion; \nUp Reversal: The up - event reverses any outcome of the preceding down - event; \nEssential: Completing the function on the down - event is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2A.Principle1.Guideline2_5.2_5_2.Touchstart_Check',
|
||||||
|
description: 'This element has a touchstart event listener. Check that for functionality that can be operated using a single pointer, at least one of the following is true: \nNo Down- Event: The down - event of the pointer is not used to execute any part of the function; \nAbort or Undo: Completion of the function is on the up - event, and a mechanism is available to abort the function before completion or to undo the function after completion; \nUp Reversal: The up - event reverses any outcome of the preceding down - event; \nEssential: Completing the function on the down - event is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2A.Principle1.Guideline2_5.2_5_3_F96.Check',
|
||||||
|
description: 'Check that for user interface components with labels that include text or images of text, the name contains the text that is presented visually.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2A.Principle1.Guideline2_5.2_5_3_F96.AccessibleName',
|
||||||
|
description: 'Accessible name for this element does not contain the visible label text. Check that for user interface components with labels that include text or images of text, the name contains the text that is presented visually.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2A.Principle1.Guideline2_5.2_5_4.Check',
|
||||||
|
description: 'Check that functionality that can be operated by device motion or user motion can also be operated by user interface components and responding to the motion can be disabled to prevent accidental actuation, except when: \nSupported Interface: The motion is used to operate functionality through an accessibility supported interface; \nEssential: The motion is essential for the function and doing so would invalidate the activity.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2A.Principle1.Guideline2_5.2_5_4.Devicemotion',
|
||||||
|
description: 'This element has a devicemotion event listener. Check that functionality that can be operated by device motion or user motion can also be operated by user interface components and responding to the motion can be disabled to prevent accidental actuation, except when: \nSupported Interface: The motion is used to operate functionality through an accessibility supported interface; \nEssential: The motion is essential for the function and doing so would invalidate the activity.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2A.Principle3.Guideline3_1.3_1_1.H57.2',
|
name: 'WCAG2A.Principle3.Guideline3_1.3_1_1.H57.2',
|
||||||
description: 'The html element should have a lang or xml:lang attribute which describes the language of the document.'
|
description: 'The html element should have a lang or xml:lang attribute which describes the language of the document.'
|
||||||
@@ -901,6 +736,54 @@ function getStandards() {
|
|||||||
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_3.G96',
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_3.G96',
|
||||||
description: 'Where instructions are provided for understanding the content, do not rely on sensory characteristics alone (such as shape, size or location) to describe objects.'
|
description: 'Where instructions are provided for understanding the content, do not rely on sensory characteristics alone (such as shape, size or location) to describe objects.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_4.RestrictView',
|
||||||
|
description: 'Check that content does not restrict its view and operation to a single display orientation, such as portrait or landscape, unless a specific display orientation is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.FaultyValue',
|
||||||
|
description: 'This element contains a potentially faulty value in its autocomplete attribute.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Text',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Text control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Multiline',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Multiline control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Password',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Password control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Url',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Url control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Telephone',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Telephone control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Numeric',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Numeric control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Month',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Month control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Date',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Date control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.Purpose',
|
||||||
|
description: 'Check that the input field serves a purpose identified in the Input Purposes for User Interface Components section; and that the content is implemented using technologies with support for identifying the expected meaning for form input data.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_3.1_3_5_H98.MissingAutocomplete',
|
||||||
|
description: 'This element does not have an autocomplete attribute. If this field collects information about the user, consider adding one to comply with this Success Criterion.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_1.G14,G182',
|
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_1.G14,G182',
|
||||||
description: 'Check that any information conveyed using colour alone is also available in text, or through other visual cues.'
|
description: 'Check that any information conveyed using colour alone is also available in text, or through other visual cues.'
|
||||||
@@ -941,6 +824,30 @@ function getStandards() {
|
|||||||
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_5.G140,C22,C30.AALevel',
|
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_5.G140,C22,C30.AALevel',
|
||||||
description: 'If the technologies being used can achieve the visual presentation, check that text is used to convey information rather than images of text, except when the image of text is essential to the information being conveyed, or can be visually customised to the user\'s requirements.'
|
description: 'If the technologies being used can achieve the visual presentation, check that text is used to convey information rather than images of text, except when the image of text is essential to the information being conveyed, or can be visually customised to the user\'s requirements.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Check',
|
||||||
|
description: 'Check that content can be presented without loss of information or functionality, and without requiring scrolling in two dimensions for: \nVertical scrolling content at a width equivalent to 320 CSS pixels;\\n Horizontal scrolling content at a height equivalent to 256 CSS pixels; \nExcept for parts of the content which require two-dimensional layout for usage or meaning.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Fixed',
|
||||||
|
description: 'Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Scrolling'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Zoom',
|
||||||
|
description: 'Interfering with a user agents ability to zoom may be a failure of this Success Criterion.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_11_G195,G207,G18,G145,G174,F78.Check',
|
||||||
|
description: 'Check that the visual presentation of the following have a contrast ratio of at least 3:1 against adjacent color(s): \nUser Interface Components: Visual information required to identify user interface components and states, except for inactive components or where the appearance of the component is determined by the user agent and not modified by the author; \nGraphical Objects: Parts of graphics required to understand the content, except when a particular presentation of graphics is essential to the information being conveyed.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_12_C36,C35.Check',
|
||||||
|
description: 'Check that no loss of content or functionality occurs by setting all of the following and by changing no other style property: \nLine height(line spacing) to at least 1.5 times the font size; \nSpacing following paragraphs to at least 2 times the font size; \nLetter spacing(tracking) to at least 0.12 times the font size; \nWord spacing to at least 0.16 times the font size'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_13_F95.Check',
|
||||||
|
description: 'Check that where receiving and then removing pointer hover or keyboard focus triggers additional content to become visible and then hidden, the following are true: \nDismissable: A mechanism is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an input error or does not obscure or replace other content; \nHoverable: If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing; \nPersistent: The additional content remains visible until the hover or focus trigger is removed, the user dismisses it, or its information is no longer valid.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2AA.Principle2.Guideline2_1.2_1_1.SCR20.DblClick',
|
name: 'WCAG2AA.Principle2.Guideline2_1.2_1_1.SCR20.DblClick',
|
||||||
description: 'Ensure the functionality provided by double-clicking on this element is available through the keyboard.'
|
description: 'Ensure the functionality provided by double-clicking on this element is available through the keyboard.'
|
||||||
@@ -969,6 +876,10 @@ function getStandards() {
|
|||||||
name: 'WCAG2AA.Principle2.Guideline2_1.2_1_2.F10',
|
name: 'WCAG2AA.Principle2.Guideline2_1.2_1_2.F10',
|
||||||
description: 'Check that this applet or plugin provides the ability to move the focus away from itself when using the keyboard.'
|
description: 'Check that this applet or plugin provides the ability to move the focus away from itself when using the keyboard.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline2_1.2_1_4.Check',
|
||||||
|
description: 'Check that if a keyboard shortcut is implemented in content using only letter (including upper- and lower-case letters), punctuation, number, or symbol characters, then at least one of the following is true: \nTurn off: A mechanism is available to turn the shortcut off; \nRemap: A mechanism is available to remap the shortcut to use one or more non- printable keyboard characters(e.g.Ctrl, Alt, etc); \nActive only on focus: The keyboard shortcut for a user interface component is only active when that component has focus.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2AA.Principle2.Guideline2_2.2_2_1.F40.2',
|
name: 'WCAG2AA.Principle2.Guideline2_2.2_2_1.F40.2',
|
||||||
description: 'Meta refresh tag used to redirect to another page, with a time limit that is not zero. Users cannot control this time limit.'
|
description: 'Meta refresh tag used to redirect to another page, with a time limit that is not zero. Users cannot control this time limit.'
|
||||||
@@ -989,6 +900,10 @@ function getStandards() {
|
|||||||
name: 'WCAG2AA.Principle2.Guideline2_2.2_2_2.F47',
|
name: 'WCAG2AA.Principle2.Guideline2_2.2_2_2.F47',
|
||||||
description: 'Blink elements cannot satisfy the requirement that blinking information can be stopped within five seconds.'
|
description: 'Blink elements cannot satisfy the requirement that blinking information can be stopped within five seconds.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline2_2.2_2_6.Check',
|
||||||
|
description: 'Check that users are warned of the duration of any user inactivity that could cause data loss, unless the data is preserved for more than 20 hours when the user does not take any actions.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2AA.Principle2.Guideline2_3.2_3_1.G19,G176',
|
name: 'WCAG2AA.Principle2.Guideline2_3.2_3_1.G19,G176',
|
||||||
description: 'Check that no component of the content flashes more than three times in any 1-second period, or that the size of any flashing area is sufficiently small.'
|
description: 'Check that no component of the content flashes more than three times in any 1-second period, or that the size of any flashing area is sufficiently small.'
|
||||||
@@ -1049,6 +964,38 @@ function getStandards() {
|
|||||||
name: 'WCAG2AA.Principle2.Guideline2_4.2_4_7.G149,G165,G195,C15,SCR31',
|
name: 'WCAG2AA.Principle2.Guideline2_4.2_4_7.G149,G165,G195,C15,SCR31',
|
||||||
description: 'Check that there is at least one mode of operation where the keyboard focus indicator can be visually located on user interface controls.'
|
description: 'Check that there is at least one mode of operation where the keyboard focus indicator can be visually located on user interface controls.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline2_5.2_5_1.Check',
|
||||||
|
description: 'Check that all functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture, unless a multipoint or path-based gesture is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline2_5.2_5_2.SinglePointer_Check',
|
||||||
|
description: 'Check that for functionality that can be operated using a single pointer, at least one of the following is true: \nNo Down- Event: The down - event of the pointer is not used to execute any part of the function; \nAbort or Undo: Completion of the function is on the up - event, and a mechanism is available to abort the function before completion or to undo the function after completion; \nUp Reversal: The up - event reverses any outcome of the preceding down - event; \nEssential: Completing the function on the down - event is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline2_5.2_5_2.Mousedown_Check',
|
||||||
|
description: 'This element has an mousedown event listener. Check that for functionality that can be operated using a single pointer, at least one of the following is true: \nNo Down- Event: The down - event of the pointer is not used to execute any part of the function; \nAbort or Undo: Completion of the function is on the up - event, and a mechanism is available to abort the function before completion or to undo the function after completion; \nUp Reversal: The up - event reverses any outcome of the preceding down - event; \nEssential: Completing the function on the down - event is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline2_5.2_5_2.Touchstart_Check',
|
||||||
|
description: 'This element has a touchstart event listener. Check that for functionality that can be operated using a single pointer, at least one of the following is true: \nNo Down- Event: The down - event of the pointer is not used to execute any part of the function; \nAbort or Undo: Completion of the function is on the up - event, and a mechanism is available to abort the function before completion or to undo the function after completion; \nUp Reversal: The up - event reverses any outcome of the preceding down - event; \nEssential: Completing the function on the down - event is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline2_5.2_5_3_F96.Check',
|
||||||
|
description: 'Check that for user interface components with labels that include text or images of text, the name contains the text that is presented visually.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline2_5.2_5_3_F96.AccessibleName',
|
||||||
|
description: 'Accessible name for this element does not contain the visible label text. Check that for user interface components with labels that include text or images of text, the name contains the text that is presented visually.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline2_5.2_5_4.Check',
|
||||||
|
description: 'Check that functionality that can be operated by device motion or user motion can also be operated by user interface components and responding to the motion can be disabled to prevent accidental actuation, except when: \nSupported Interface: The motion is used to operate functionality through an accessibility supported interface; \nEssential: The motion is essential for the function and doing so would invalidate the activity.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline2_5.2_5_4.Devicemotion',
|
||||||
|
description: 'WCAG2AA.This element has a devicemotion event listener. Check that functionality that can be operated by device motion or user motion can also be operated by user interface components and responding to the motion can be disabled to prevent accidental actuation, except when: \nSupported Interface: The motion is used to operate functionality through an accessibility supported interface; \nEssential: The motion is essential for the function and doing so would invalidate the activity.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2AA.Principle3.Guideline3_1.3_1_1.H57.2',
|
name: 'WCAG2AA.Principle3.Guideline3_1.3_1_1.H57.2',
|
||||||
description: 'The html element should have a lang or xml:lang attribute which describes the language of the document.'
|
description: 'The html element should have a lang or xml:lang attribute which describes the language of the document.'
|
||||||
@@ -1140,6 +1087,10 @@ function getStandards() {
|
|||||||
{
|
{
|
||||||
name: 'WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.[NodeName].Value',
|
name: 'WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.[NodeName].Value',
|
||||||
description: 'This [element type] does not have a value available to an accessibility API. Add one [using a element-specific method].'
|
description: 'This [element type] does not have a value available to an accessibility API. Add one [using a element-specific method].'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AA.Principle1.Guideline4_1.4_1_3_ARIA22,G199,ARIA19,G83,G84,G85,G139,G177,G194,ARIA23.Check',
|
||||||
|
description: 'Check that status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -1410,6 +1361,58 @@ function getStandards() {
|
|||||||
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_3.G96',
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_3.G96',
|
||||||
description: 'Where instructions are provided for understanding the content, do not rely on sensory characteristics alone (such as shape, size or location) to describe objects.'
|
description: 'Where instructions are provided for understanding the content, do not rely on sensory characteristics alone (such as shape, size or location) to describe objects.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_4.RestrictView',
|
||||||
|
description: 'Check that content does not restrict its view and operation to a single display orientation, such as portrait or landscape, unless a specific display orientation is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.FaultyValue',
|
||||||
|
description: 'This element contains a potentially faulty value in its autocomplete attribute.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Text',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Text control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Multiline',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Multiline control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Password',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Password control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Url',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Url control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Telephone',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Telephone control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Numeric',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Numeric control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Month',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Month control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.InvalidAutocomplete_Date',
|
||||||
|
description: 'Invalid autocomplete value. Element does not belong to Date control group.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.Purpose',
|
||||||
|
description: 'Check that the input field serves a purpose identified in the Input Purposes for User Interface Components section; and that the content is implemented using technologies with support for identifying the expected meaning for form input data.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_5_H98.MissingAutocomplete',
|
||||||
|
description: 'This element does not have an autocomplete attribute. If this field collects information about the user, consider adding one to comply with this Success Criterion.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_3.1_3_6_ARIA11.Check',
|
||||||
|
description: 'Check that the purpose of User Interface Components, icons, and regions can be programmatically determined.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_1.G14,G182',
|
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_1.G14,G182',
|
||||||
description: 'Check that any information conveyed using colour alone is also available in text, or through other visual cues.'
|
description: 'Check that any information conveyed using colour alone is also available in text, or through other visual cues.'
|
||||||
@@ -1462,6 +1465,34 @@ function getStandards() {
|
|||||||
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_9.G140,C22,C30.NoException',
|
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_9.G140,C22,C30.NoException',
|
||||||
description: 'Check that images of text are only used for pure decoration or where a particular presentation of text is essential to the information being conveyed.'
|
description: 'Check that images of text are only used for pure decoration or where a particular presentation of text is essential to the information being conveyed.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Check',
|
||||||
|
description: 'Check that content can be presented without loss of information or functionality, and without requiring scrolling in two dimensions for: \nVertical scrolling content at a width equivalent to 320 CSS pixels;\\n Horizontal scrolling content at a height equivalent to 256 CSS pixels; \nExcept for parts of the content which require two-dimensional layout for usage or meaning.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Fixed',
|
||||||
|
description: 'Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Scrolling'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Zoom',
|
||||||
|
description: 'Interfering with a user agents ability to zoom may be a failure of this Success Criterion.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_11_G195,G207,G18,G145,G174,F78.Check',
|
||||||
|
description: 'Check that the visual presentation of the following have a contrast ratio of at least 3:1 against adjacent color(s): \nUser Interface Components: Visual information required to identify user interface components and states, except for inactive components or where the appearance of the component is determined by the user agent and not modified by the author; \nGraphical Objects: Parts of graphics required to understand the content, except when a particular presentation of graphics is essential to the information being conveyed.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_12_C36,C35.Check',
|
||||||
|
description: 'Check that no loss of content or functionality occurs by setting all of the following and by changing no other style property: \nLine height(line spacing) to at least 1.5 times the font size; \nSpacing following paragraphs to at least 2 times the font size; \nLetter spacing(tracking) to at least 0.12 times the font size; \nWord spacing to at least 0.16 times the font size'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_13_F95.Check',
|
||||||
|
description: 'Check that where receiving and then removing pointer hover or keyboard focus triggers additional content to become visible and then hidden, the following are true: \nDismissable: A mechanism is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an input error or does not obscure or replace other content; \nHoverable: If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing; \nPersistent: The additional content remains visible until the hover or focus trigger is removed, the user dismisses it, or its information is no longer valid.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_1.2_1_4.Check',
|
||||||
|
description: 'Check that if a keyboard shortcut is implemented in content using only letter (including upper- and lower-case letters), punctuation, number, or symbol characters, then at least one of the following is true: \nTurn off: A mechanism is available to turn the shortcut off; \nRemap: A mechanism is available to remap the shortcut to use one or more non- printable keyboard characters(e.g.Ctrl, Alt, etc); \nActive only on focus: The keyboard shortcut for a user interface component is only active when that component has focus.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2AAA.Principle2.Guideline2_1.2_1_1.SCR20.DblClick',
|
name: 'WCAG2AAA.Principle2.Guideline2_1.2_1_1.SCR20.DblClick',
|
||||||
description: 'Ensure the functionality provided by double-clicking on this element is available through the keyboard.'
|
description: 'Ensure the functionality provided by double-clicking on this element is available through the keyboard.'
|
||||||
@@ -1522,10 +1553,58 @@ function getStandards() {
|
|||||||
name: 'WCAG2AAA.Principle2.Guideline2_2.2_2_5.G105,G181',
|
name: 'WCAG2AAA.Principle2.Guideline2_2.2_2_5.G105,G181',
|
||||||
description: 'If this Web page is part of a set of Web pages with an inactivity time limit, check that an authenticated user can continue the activity without loss of data after re-authenticating.'
|
description: 'If this Web page is part of a set of Web pages with an inactivity time limit, check that an authenticated user can continue the activity without loss of data after re-authenticating.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_2.2_2_6.Check',
|
||||||
|
description: 'Check that users are warned of the duration of any user inactivity that could cause data loss, unless the data is preserved for more than 20 hours when the user does not take any actions.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2AAA.Principle2.Guideline2_3.2_3_2.G19',
|
name: 'WCAG2AAA.Principle2.Guideline2_3.2_3_2.G19',
|
||||||
description: 'Check that no component of the content flashes more than three times in any 1-second period.'
|
description: 'Check that no component of the content flashes more than three times in any 1-second period.'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_3.2_3_3.Check',
|
||||||
|
description: 'Check that motion animation triggered by interaction can be disabled, unless the animation is essential to the functionality or the information being conveyed.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_5.2_5_1.Check',
|
||||||
|
description: 'Check that all functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture, unless a multipoint or path-based gesture is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_5.2_5_2.SinglePointer_Check',
|
||||||
|
description: 'Check that for functionality that can be operated using a single pointer, at least one of the following is true: \nNo Down- Event: The down - event of the pointer is not used to execute any part of the function; \nAbort or Undo: Completion of the function is on the up - event, and a mechanism is available to abort the function before completion or to undo the function after completion; \nUp Reversal: The up - event reverses any outcome of the preceding down - event; \nEssential: Completing the function on the down - event is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_5.2_5_2.Mousedown_Check',
|
||||||
|
description: 'This element has an mousedown event listener. Check that for functionality that can be operated using a single pointer, at least one of the following is true: \nNo Down- Event: The down - event of the pointer is not used to execute any part of the function; \nAbort or Undo: Completion of the function is on the up - event, and a mechanism is available to abort the function before completion or to undo the function after completion; \nUp Reversal: The up - event reverses any outcome of the preceding down - event; \nEssential: Completing the function on the down - event is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_5.2_5_2.Touchstart_Check',
|
||||||
|
description: 'This element has a touchstart event listener. Check that for functionality that can be operated using a single pointer, at least one of the following is true: \nNo Down- Event: The down - event of the pointer is not used to execute any part of the function; \nAbort or Undo: Completion of the function is on the up - event, and a mechanism is available to abort the function before completion or to undo the function after completion; \nUp Reversal: The up - event reverses any outcome of the preceding down - event; \nEssential: Completing the function on the down - event is essential.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_5.2_5_3_F96.Check',
|
||||||
|
description: 'Check that for user interface components with labels that include text or images of text, the name contains the text that is presented visually.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_5.2_5_3_F96.AccessibleName',
|
||||||
|
description: 'Accessible name for this element does not contain the visible label text. Check that for user interface components with labels that include text or images of text, the name contains the text that is presented visually.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_5.2_5_4.Check',
|
||||||
|
description: 'Check that functionality that can be operated by device motion or user motion can also be operated by user interface components and responding to the motion can be disabled to prevent accidental actuation, except when: \nSupported Interface: The motion is used to operate functionality through an accessibility supported interface; \nEssential: The motion is essential for the function and doing so would invalidate the activity.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_5.2_5_4.Devicemotion',
|
||||||
|
description: 'WCAG2AA.This element has a devicemotion event listener. Check that functionality that can be operated by device motion or user motion can also be operated by user interface components and responding to the motion can be disabled to prevent accidental actuation, except when: \nSupported Interface: The motion is used to operate functionality through an accessibility supported interface; \nEssential: The motion is essential for the function and doing so would invalidate the activity.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_5.2_5_5.Check',
|
||||||
|
description: 'Check that the size of the target for pointer inputs is at least 44 by 44 CSS pixels except when:\nEquivalent: The target is available through an equivalent link or control on the same page that is at least 44 by 44 CSS pixels;\nInline: The target is in a sentence or block of text;\nUser Agent Control: The size of the target is determined by the user agent and is not modified by the author;\nEssential: A particular presentation of the target is essential to the information being conveyed.'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline2_5.2_5_6.Check',
|
||||||
|
description: 'Check that the content does not restrict use of input modalities available on a platform except where the restriction is essential, required to ensure the security of the content, or required to respect user settings.'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'WCAG2AAA.Principle2.Guideline2_4.2_4_1.H64.1',
|
name: 'WCAG2AAA.Principle2.Guideline2_4.2_4_1.H64.1',
|
||||||
description: 'Iframe element requires a non-empty title attribute that identifies the frame.'
|
description: 'Iframe element requires a non-empty title attribute that identifies the frame.'
|
||||||
@@ -1713,6 +1792,10 @@ function getStandards() {
|
|||||||
{
|
{
|
||||||
name: 'WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.[NodeName].Value',
|
name: 'WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.[NodeName].Value',
|
||||||
description: 'This [element type] does not have a value available to an accessibility API. Add one [using a element-specific method].'
|
description: 'This [element type] does not have a value available to an accessibility API. Add one [using a element-specific method].'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'WCAG2AAA.Principle1.Guideline4_1.4_1_3_ARIA22,G199,ARIA19,G83,G84,G85,G139,G177,G194,ARIA23.Check',
|
||||||
|
description: 'Check that status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -603,6 +603,114 @@ function getTechniques() {
|
|||||||
H91: {
|
H91: {
|
||||||
title: 'H91: Using HTML form controls and links',
|
title: 'H91: Using HTML form controls and links',
|
||||||
url: 'http://www.w3.org/TR/WCAG20-TECHS/H91'
|
url: 'http://www.w3.org/TR/WCAG20-TECHS/H91'
|
||||||
|
},
|
||||||
|
F102: {
|
||||||
|
title: 'F102: Failure of Success Criterion 1.4.10 due to content disappearing and not being available when content has reflowed',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F102'
|
||||||
|
},
|
||||||
|
F103: {
|
||||||
|
title: 'F103: Failure of Success Criterion 4.1.3 due to providing status messages that cannot be programmatically determined through role or properties',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F103'
|
||||||
|
},
|
||||||
|
F104: {
|
||||||
|
title: 'F104: Failure of Success Criterion 1.4.12 due to clipped or overlapped content when text spacing is adjusted',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F104'
|
||||||
|
},
|
||||||
|
F105: {
|
||||||
|
title: 'F105: Failure of Success Criterion 2.5.1 due to providing functionality via a path- based gesture without simple pointer alternative',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F105'
|
||||||
|
},
|
||||||
|
F106: {
|
||||||
|
title: 'F106: Failure due to inability to deactivate motion actuation',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F106'
|
||||||
|
},
|
||||||
|
G216: {
|
||||||
|
title: 'G216: Providing single point activation for a control slider',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/general/G216'
|
||||||
|
},
|
||||||
|
G215: {
|
||||||
|
title: 'G215: Providing controls to achieve the same result as path based or multipoint gestures',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/general/G215'
|
||||||
|
},
|
||||||
|
F100: {
|
||||||
|
title: 'F100: Failure of Success Criterion 1.3.4 due to showing a message asking to reorient device',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F100'
|
||||||
|
},
|
||||||
|
G214: {
|
||||||
|
title: 'G214: Using a control to allow access to content in different orientations which is otherwise restricted',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/general/G214'
|
||||||
|
},
|
||||||
|
C40: {
|
||||||
|
title: 'C40: Creating a two-color focus indicator to ensure sufficient contrast with all components',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/css/C40'
|
||||||
|
},
|
||||||
|
F99: {
|
||||||
|
title: 'F99: Failure of Success Criterion 2.1.4 due to implementing character key shortcuts that cannot be turned off or remapped',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F99'
|
||||||
|
},
|
||||||
|
SCR39: {
|
||||||
|
title: 'SCR39: Making content on focus or hover hoverable, dismissible, and persistent',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/client-side-script/SCR39'
|
||||||
|
},
|
||||||
|
G212: {
|
||||||
|
title: 'G212: Using native controls to ensure functionality is triggered on the up-event.',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/general/G212'
|
||||||
|
},
|
||||||
|
F98: {
|
||||||
|
title: 'F98: Failure due to interactions being limited to touch-only on touchscreen devices',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F98'
|
||||||
|
},
|
||||||
|
G213: {
|
||||||
|
title: 'G213: Provide conventional controls and an application setting for motion activated input',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/general/G213'
|
||||||
|
},
|
||||||
|
ARIA24: {
|
||||||
|
title: 'ARIA24: Semantically identifying a font icon with role="img"',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA24'
|
||||||
|
},
|
||||||
|
F97: {
|
||||||
|
title: 'F97: Failure due to locking the orientation to landscape or portrait view',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F97'
|
||||||
|
},
|
||||||
|
F52: {
|
||||||
|
title: 'F52: Failure of Success Criterion 3.2.1 and 3.2.5 due to opening a new window as soon as a new page is loaded ',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F52'
|
||||||
|
},
|
||||||
|
G209: {
|
||||||
|
title: 'G209: Provide sufficient contrast at the boundaries between adjoining colors',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/general/G209'
|
||||||
|
},
|
||||||
|
C39: {
|
||||||
|
title: 'C39: Using the CSS reduce-motion query to prevent motion',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/css/C39'
|
||||||
|
},
|
||||||
|
G207: {
|
||||||
|
title: 'G207: Ensuring that a contrast ratio of 3:1 is provided for icons',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/general/G207'
|
||||||
|
},
|
||||||
|
C38: {
|
||||||
|
title: 'C38: Using CSS width, max-width and flexbox to fit labels and inputs',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/css/C38'
|
||||||
|
},
|
||||||
|
C34: {
|
||||||
|
title: 'C34: Using media queries to un-fixing sticky headers / footers',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/css/C34'
|
||||||
|
},
|
||||||
|
C36: {
|
||||||
|
title: 'C36: Allowing for text spacing override',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/css/C36'
|
||||||
|
},
|
||||||
|
C37: {
|
||||||
|
title: 'C37: Using CSS max-width and height to fit images',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/css/C37'
|
||||||
|
},
|
||||||
|
F95: {
|
||||||
|
title: 'F95: Failure of Success Criterion 1.4.13 due to content shown on hover not being hoverable',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F95'
|
||||||
|
},
|
||||||
|
F96: {
|
||||||
|
title: 'F96: Failure due to the accessible name not containing the visible label text',
|
||||||
|
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F96'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
23
package.json
23
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pa11y-dashboard",
|
"name": "pa11y-dashboard",
|
||||||
"version": "3.3.0",
|
"version": "4.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Pa11y Dashboard is a visual web interface to the Pa11y accessibility reporter",
|
"description": "Pa11y Dashboard is a visual web interface to the Pa11y accessibility reporter",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@@ -21,8 +21,7 @@
|
|||||||
"bugs": "https://github.com/pa11y/dashboard/issues",
|
"bugs": "https://github.com/pa11y/dashboard/issues",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8",
|
"node": ">=12 <16"
|
||||||
"npm": ">=6"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"body-parser": "~1.19.0",
|
"body-parser": "~1.19.0",
|
||||||
@@ -30,18 +29,18 @@
|
|||||||
"express": "~4.17.1",
|
"express": "~4.17.1",
|
||||||
"express-hbs": "~2.4.0",
|
"express-hbs": "~2.4.0",
|
||||||
"http-headers": "~3.0.2",
|
"http-headers": "~3.0.2",
|
||||||
"kleur": "~4.1.2",
|
"kleur": "~4.1.4",
|
||||||
"moment": "~2.29.0",
|
"moment": "~2.29.1",
|
||||||
"pa11y-webservice": "~3.2.1",
|
"pa11y-webservice": "~4.0.0",
|
||||||
"pa11y-webservice-client-node": "~2.0.0",
|
"pa11y-webservice-client-node": "~3.0.0",
|
||||||
"underscore": "~1.11.0"
|
"underscore": "~1.13.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bower": "^1.8.8",
|
"bower": "^1.8.13",
|
||||||
"cheerio": "^1.0.0-rc.3",
|
"cheerio": "^1.0.0-rc.10",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^7.27.0",
|
||||||
"less": "^3.11.1",
|
"less": "^3.11.1",
|
||||||
"mocha": "^7.2.0",
|
"mocha": "^8.4.0",
|
||||||
"pa11y-lint-config": "^1.2.1",
|
"pa11y-lint-config": "^1.2.1",
|
||||||
"proclaim": "^3.6.0",
|
"proclaim": "^3.6.0",
|
||||||
"request": "^2.88.2",
|
"request": "^2.88.2",
|
||||||
|
2
public/css/site.min.css
vendored
2
public/css/site.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -26,7 +26,7 @@ $(document).ready(function(){
|
|||||||
var zoomResetButton = $('[data-role="zoom-reset"]');
|
var zoomResetButton = $('[data-role="zoom-reset"]');
|
||||||
var graphContainer = $('[data-role="graph"]');
|
var graphContainer = $('[data-role="graph"]');
|
||||||
var dateSelectDropdownMenu = $('[data-role="date-select-dropdown-menu"]');
|
var dateSelectDropdownMenu = $('[data-role="date-select-dropdown-menu"]');
|
||||||
var legend = graphContainer.parents('.graph-container').find('.dashedLegend');
|
var legend = graphContainer.parent('.graph-container').find('.dashedLegend');
|
||||||
var list = localStorage.getItem("listview") || ""; // get choice or nothing
|
var list = localStorage.getItem("listview") || ""; // get choice or nothing
|
||||||
|
|
||||||
|
|
||||||
|
2
public/js/site.min.js
vendored
2
public/js/site.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -71,14 +71,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main section {
|
|
||||||
margin: 5em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.results-download {
|
|
||||||
margin: 1.5em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.supersize-me {
|
.supersize-me {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 112px;
|
font-size: 112px;
|
||||||
@@ -593,9 +585,9 @@ ul.date-links {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dashedLegend {
|
.dashedLegend {
|
||||||
position: relative;
|
position: absolute;
|
||||||
top: 55px;
|
top: 70px;
|
||||||
right: 20px;
|
right: 40px;
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
color: #545454;
|
color: #545454;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// Clone the main config
|
// Clone the main config
|
||||||
var config = module.exports = JSON.parse(JSON.stringify(require('../.eslintrc')));
|
const config = module.exports = JSON.parse(JSON.stringify(require('../.eslintrc')));
|
||||||
|
|
||||||
// We use `this` all over the integration tests
|
// We use `this` all over the integration tests
|
||||||
config.rules['no-invalid-this'] = 'off';
|
config.rules['no-invalid-this'] = 'off';
|
||||||
|
@@ -19,7 +19,7 @@ along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<p class="h2">Let's see what we can do here:</h2>
|
<p class="h2">Let's see what we can do here:</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Do you have <a href="https://www.mongodb.com/">MongoDB</a> installed and <code>mongod</code> running?</li>
|
<li>Do you have <a href="https://www.mongodb.com/">MongoDB</a> installed and <code>mongod</code> running?</li>
|
||||||
<li>Check out the <a href="https://github.com/pa11y/dashboard/blob/master/TROUBLESHOOTING.md">Troubleshooting doc</a> for more information.</li>
|
<li>Check out the <a href="https://github.com/pa11y/dashboard/blob/master/README.md#troubleshooting">Troubleshooting guide</a> for more information.</li>
|
||||||
<li>Search for a related <a href="https://github.com/pa11y/dashboard/issues">Github issue</a>, or open one yourself.</li>
|
<li>Search for a related <a href="https://github.com/pa11y/dashboard/issues">Github issue</a>, or open one yourself.</li>
|
||||||
</ul>
|
</ul>
|
||||||
{{#if error}}
|
{{#if error}}
|
||||||
|
@@ -14,61 +14,58 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
||||||
}}
|
}}
|
||||||
<section class="col-md-12 clearfix">
|
<div class="col-md-12 clearfix">
|
||||||
<h2>Results Overview</h2>
|
<div class="graph-container graph-spacer ruled clearfix">
|
||||||
|
<div class="row">
|
||||||
<div class="col-md-12 graph-container graph-spacer ruled clearfix">
|
<div class="col-md-3 col-sm-4 col-xs-3">
|
||||||
<div class="col-md-10">
|
<span class="btn btn-sm btn-default btn-full-width btn_action_export">Export graph</span>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col-md-3 col-sm-4 col-xs-3">
|
|
||||||
<button class="btn btn-sm btn-default btn-full-width btn_action_export">Export graph</button>
|
<div class="col-md-5 col-sm-6 col-xs-9 pull-right">
|
||||||
</div>
|
<ul class="list-unstyled floated-list series-checkboxes clearfix" data-role="series-checkboxes"></ul>
|
||||||
|
|
||||||
<div class="col-md-5 col-sm-6 col-xs-9 pull-right">
|
|
||||||
<ul class="list-unstyled floated-list series-checkboxes clearfix" data-role="series-checkboxes"></ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div data-role="graph" class="graph"></div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2 dashedLegend">
|
<div data-role="graph" class="graph"></div>
|
||||||
|
<div class="dashedLegend">
|
||||||
<div class="dashedContainer">
|
<div class="dashedContainer">
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="legendColorBox">
|
<td class="legendColorBox">
|
||||||
<div class="clearfix legendIcon legendErrors">
|
<div class="clearfix legendIcon legendErrors">
|
||||||
<div></div>
|
<div></div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="legendLabel">Errors</td>
|
<td class="legendLabel">Errors</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="legendColorBox">
|
<td class="legendColorBox">
|
||||||
<div class="clearfix legendIcon legendWarnings">
|
<div class="clearfix legendIcon legendWarnings">
|
||||||
<div></div><div></div>
|
<div></div><div></div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="legendLabel">Warnings</td>
|
<td class="legendLabel">Warnings</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="legendColorBox">
|
<td class="legendColorBox">
|
||||||
<div class="clearfix legendIcon legendNotices">
|
<div class="clearfix legendIcon legendNotices">
|
||||||
<div></div><div></div><div></div>
|
<div></div><div></div><div></div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="legendLabel">Notices</td>
|
<td class="legendLabel">Notices</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button data-role='zoom-reset' class="btn btn-xs btn-primary pull-right btn-reset hidden">Reset Zoom <i class="glyphicon glyphicon-zoom-out"></i></button>
|
<button data-role='zoom-reset' class="btn btn-xs btn-primary pull-right btn-reset hidden">Reset Zoom <i class="glyphicon glyphicon-zoom-out"></i></button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-12 hidden">
|
||||||
<div class="ruled col-md-12 graph-spacer">
|
<div class="graph-spacer ruled">
|
||||||
<table id="graph-data" class="table graph-table" summary="Accessibility results from Pa11y for this page">
|
<table id="graph-data" class="table graph-table" summary="Accessibility results from Pa11y for this page">
|
||||||
<caption>Results for {{simplify-url task.url}}</caption>
|
<caption>Pa11y results for this URL</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Date</th>
|
<th>Date</th>
|
||||||
@@ -80,7 +77,7 @@ along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<tbody>
|
<tbody>
|
||||||
{{#results}}
|
{{#results}}
|
||||||
<tr data-role="url-stats">
|
<tr data-role="url-stats">
|
||||||
<td data-value="{{date-timestamp date}}" data-role="date"><a href="{{href}}">{{date-format date format="DD MMM YYYY"}}</a></td>
|
<td data-value="{{date-timestamp date}}" data-role="date">{{date-format date format="DD MMM YYYY"}}</td>
|
||||||
<td class="text-center" data-label="error">{{count.error}}</td>
|
<td class="text-center" data-label="error">{{count.error}}</td>
|
||||||
<td class="text-center" data-label="warning">{{count.warning}}</td>
|
<td class="text-center" data-label="warning">{{count.warning}}</td>
|
||||||
<td class="text-center" data-label="notice">{{count.notice}}</td>
|
<td class="text-center" data-label="notice">{{count.notice}}</td>
|
||||||
@@ -89,4 +86,4 @@ along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
|
@@ -29,7 +29,7 @@ along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<a href="{{bugtracker}}">Bug Tracker</a>
|
<a href="{{bugtracker}}">Bug Tracker</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="http://www.w3.org/TR/WCAG20/">WCAG 2.0 spec</a>
|
<a href="https://www.w3.org/TR/WCAG21/">WCAG 2.1 spec</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="http://squizlabs.github.io/HTML_CodeSniffer/">HTML_CodeSniffer</a>
|
<a href="http://squizlabs.github.io/HTML_CodeSniffer/">HTML_CodeSniffer</a>
|
||||||
|
@@ -15,18 +15,56 @@ You should have received a copy of the GNU General Public License
|
|||||||
along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
||||||
}}
|
}}
|
||||||
|
|
||||||
<section class="col-md-12">
|
<div class="col-md-3 aside">
|
||||||
<h2 id="tabSectionHeading">Results for {{date-format task.lastResult.date format="DD MMM YYYY"}}</h2>
|
<div class="row">
|
||||||
<div class="results-download">
|
<div class="action-buttons col-md-12 col-sm-6">
|
||||||
<a href="{{mainResult.hrefCsv}}" class="btn btn-default" data-test="download-csv">
|
<div class="row">
|
||||||
Download CSV <span class="glyphicon glyphicon-download" aria-hidden="true"></span>
|
<div class="col-md-12 col-sm-6 col-xs-12">
|
||||||
</a>
|
<a href="{{mainResult.hrefCsv}}" class="btn-full-width btn btn-default" data-test="download-csv">
|
||||||
<a href="{{mainResult.hrefJson}}" class="btn btn-default" data-test="download-json">
|
Download CSV <span class="glyphicon glyphicon-download" aria-hidden="true"></span>
|
||||||
Download JSON <span class="glyphicon glyphicon-download" aria-hidden="true"></span>
|
</a>
|
||||||
</a>
|
</div>
|
||||||
|
<div class="col-md-12 col-sm-6 col-xs-12">
|
||||||
|
<a href="{{mainResult.hrefJson}}" class="btn-full-width btn btn-default" data-test="download-json">
|
||||||
|
Download JSON <span class="glyphicon glyphicon-download" aria-hidden="true"></span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row date-selector-row">
|
||||||
<ul id="top" class="nav nav-tabs category-list">
|
<div id="top" class="col-md-12 col-sm-12 clearfix">
|
||||||
|
<div class="well dark-well">
|
||||||
|
<div class="date-selector">
|
||||||
|
<div class="btn-group block-level clearfix">
|
||||||
|
<h2 class="h4">
|
||||||
|
<span class="glyphicon glyphicon-calendar" aria-hidden="true"></span> {{date-format task.lastResult.date format="DD MMM YYYY"}}
|
||||||
|
</h2>
|
||||||
|
<h3 class="h5 show-stats" id="dates-navigation">Select a date to show stats for:</h3>
|
||||||
|
<nav aria-labelledby="dates-navigation">
|
||||||
|
<ul class="dates-list">
|
||||||
|
{{#results}}
|
||||||
|
<li><a class="" href="{{href}}">{{date-format date format="DD MMM YYYY"}}</a></li>
|
||||||
|
{{/results}}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12 col-sm-12 clearfix">
|
||||||
|
<div class="well">
|
||||||
|
<h4 class="crunch-top">View results in browser</h4>
|
||||||
|
<p class="crunch-bottom">Pa11y uses HTML_CodeSniffer to find accessibility issues. <a href="http://squizlabs.github.io/HTML_CodeSniffer/">Use their bookmarklet</a> to view results on the page you are testing.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-9">
|
||||||
|
<ul class="nav nav-tabs category-list" role="tablist">
|
||||||
<li class="category-list__item category-list__item_type_error active" role="presentation">
|
<li class="category-list__item category-list__item_type_error active" role="presentation">
|
||||||
<a class="category-list__link" id="errors" href="#errors-list" aria-controls="errors-list" role="tab" data-toggle="tab" data-test="task-errors">
|
<a class="category-list__link" id="errors" href="#errors-list" aria-controls="errors-list" role="tab" data-toggle="tab" data-test="task-errors">
|
||||||
Errors ( {{mainResult.count.error}} )
|
Errors ( {{mainResult.count.error}} )
|
||||||
@@ -284,9 +322,5 @@ along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<div class="text">You have no ignored rules.</div>
|
<div class="text">You have no ignored rules.</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="well">
|
|
||||||
<h3 class="crunch-top h3">View results in browser</h3>
|
|
||||||
<p class="crunch-bottom">Pa11y uses HTML_CodeSniffer to find accessibility issues. <a href="http://squizlabs.github.io/HTML_CodeSniffer/">Use their bookmarklet</a> to view results on the page you are testing.</p>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
|
Reference in New Issue
Block a user