Name: aria-practices
Owner: World Wide Web Consortium
Description: WAI-ARIA Authoring Practices, maintained by ARIA WG https://www.w3.org/WAI/ARIA/
Created: 2016-04-07 13:55:12.0
Updated: 2018-01-13 02:25:19.0
Pushed: 2018-01-09 22:53:18.0
Homepage: null
Size: 9500
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository maintains the WAI-ARIA Authoring Practices Guide.
Please do not provide commit access to this repository without coordination.
Note: Please feel free to ask questions either through an issue or on the Authoring Practices Task Force mailing list.
ESLint is an automated code style checker. We use it to ensure common code styling practices in this repository. Pull requests with ESLint errors will not be merged.
aria-practices
repository, run npm install
.
A successful install will display a tree of installed packages.aria-practices
repositorynpm test
.npm run fix
.When the linter encounters errors, it will report them in the console. The error report will contain the file name and line number, and it will indicate the character or place in the line that raised the style violation. To fix an error, satisfy the change that the violation indicates.
For example, here is an error for an invalid variable name style. Variables must follow a camelCase convention.
rs/user1/Documents/github/aria-practices/examples/slider/js/text-slider.js
:8 error Identifier 'value_nodes' is not in camel case camelcase
The error occurred in examples/slider/js/text-slider.js
, on line 19 and the
offending character is indicated by the number 8
after the colon. Change the
variable value_nodes
to valueNodes
in your source file to eliminate this
error.
To see the complete list of style rules that are applied by ESLint, review the .eslint.json file in the root of the project.
General documentation for editing ARIA deliverables is available in the ARIA repository. Some of that documentation covers technical procedures not needed for this specification.
Note: These instructions are for editors of the APG who have repository commit access.
aria-practices
repositoryindex.html
in your preferred editorindex.html
with the snapshot copy you saved