{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m","workerThreads":false},"dependencies":{"@hint/utils-i18n":"^1.0.14","@hint/utils-network":"^1.0.23","@hint/utils-types":"^1.2.0","axe-core":"^4.4.1"},"description":"hint that that checks using axe for accessibility related best practices","devDependencies":{"@hint/parser-javascript":"^3.1.22","@hint/parser-jsx":"^1.1.3","@hint/utils-create-server":"^3.4.23","@hint/utils-dom":"^2.2.2","@hint/utils-tests-helpers":"^6.5.3","@types/node":"^17.0.14","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","ava":"^4.3.3","copyfiles":"^2.4.1","eslint":"^7.32.0","eslint-plugin-import":"^2.26.0","eslint-plugin-markdown":"^2.2.1","lodash":"^4.17.21","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.5.5"},"homepage":"https://webhint.io/","keywords":["axe","axe-hint","webhint","webhint-hint","webhint-recommended"],"license":"Apache-2.0","main":"dist/src/index.js","name":"@hint/hint-axe","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"hint":"^7.0.0"},"repository":{"directory":"packages/hint-axe","type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm run i18n && npm run prebuild && npm-run-all build:*","build-release":"npm run clean && npm run i18n && npm run prebuild && npm run build:assets && tsc --inlineSourceMap false --removeComments true","build:assets":"copyfiles \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","clean":"rimraf dist","i18n":"node ../../scripts/create-i18n.js","lint":"npm-run-all lint:*","lint:js":"eslint . --cache --ext .js,.md,.ts --ignore-path ../../.eslintignore","lint:dependencies":"node ../../scripts/lint-dependencies.js","lint:md":"node ../../scripts/lint-markdown.js","prebuild":"node ./scripts/create.js","test":"npm run prebuild && npm run i18n && npm run lint && npm run build && npm run test-only","test-only":"nyc ava","test-release":"npm run i18n && npm run lint && npm run build-release && ava","watch":"npm run build && npm-run-all --parallel -c watch:*","watch:assets":"npm run build:assets -- -w --no-initial","watch:test":"ava --watch","watch:ts":"npm run build:ts -- --watch"},"version":"4.4.17","types":"./dist/src/index.d.ts","gitHead":"8869f1b823276a7cf0417925b78b6aba21d4ee2b","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-axe@4.4.17","_nodeVersion":"14.20.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-YJhECp8W0hMrORGFCpJdzZgzs7hHoUcokKc868rPyUH9Jf35KC5aOYuvIbW3NZldnaglG1yO89rn5vX2R9xwKg==","shasum":"38ed7fdb9c3ade94f352f4c9d1dca3dfe79b0f2e","tarball":"http://registry-npm.ywwl.com/@hint/hint-axe/download/@hint/hint-axe-4.4.17.tgz","fileCount":107,"unpackedSize":107200,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEM85tlXyqkKGkJDN2v+RdSME75f0F5U0t0lbuVpoxpmAiAd58dfCcxzpW2YIQJPKhuyrIovbnKmRHGqsPPv2+6qqg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPy/ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLixAAjjm2n+l3c9SwJK2hpVtuJTz2Vw2QPf2QxItMOO2ZbChzkii6\r\ncXVvlFnUbCSU0rfdrb70n1eDz+q58mgVgyUhlJxQ7cmBxvYscpzThOwqozQl\r\nuUjpiynWKpoiwji0+pGQK4Gruj8ItEywqNjI0APruvd3xVx4wj99hDA6Evx9\r\nGZKsodUr2juHOFDhuf0r+FJzwbzMy0ys7a1wObWlfOlr64wejJnTR1xkg0e7\r\n2r+9XYnmVZENGkZXo/IBO8nOPcrTDs+jRQFmwjaR6bWtte/XuiZ9t3fdtbmj\r\nKfXegO5ivJn2MfN3fFFNRmN0fOQ8TupUuSafNKP4tlU0INW20Bc8im7nzTNz\r\n/riP3sXGDMyXSg8O0X7u1+fBr+F26rUhWS5NCQTUPf7BwNq/3T+HKjmL6R+B\r\nZKpBkoIx91t1Uz1aBcG4n7qlTWckNxcCzrDRQiLKkRZ5X5HtU9ELTxBVnmR7\r\nYrWn3xVAsVePdZeSK6yJ25aNwge4oAHNsOsLb6v2yunWXW83sViEutLtbRSn\r\nPIvAIa61K5SmCN3uNz6jp8bDrNA1aCnsJufUTFm7D2qFvQRqLe0Tl4Jzetge\r\ntaYLE/zIk6KwFBAj92IQATOjjnHJhK3K4wmF8tuqGwXRH1hbPZqCPx+utGpi\r\n0oD/JayDlHuZe5FcWEwNdn1Vwq2fFHWiaQc=\r\n=ea0+\r\n-----END PGP SIGNATURE-----\r\n","size":20024,"noattachment":false,"key":"/@hint/hint-axe/-/@hint/hint-axe-4.4.17.tgz"},"_npmUser":{"name":"vidorteg","email":"vidorteg@microsoft.com"},"directories":{},"maintainers":[{"name":"leotlee","email":"leolee@microsoft.com"},{"name":"vidorteg","email":"vidorteg@microsoft.com"},{"name":"oaflynn","email":"flynnolivia@microsoft.com"},{"name":"molant","email":"amolleda@gmail.com"},{"name":"antross","email":"antross@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hint-axe_4.4.17_1665085400852_0.13485991040778078"},"_hasShrinkwrap":false,"readme":"# axe accessibility check (`axe`)\n\n`axe` is the accessibility engine for automated testing of HTML-based\nuser interfaces. These hints run the recommended set of WCAG 2.1\nLevel A and Level AA rules from [axe-core][axe core].\n\n## Why is this important?\n\n> The Web is an increasingly important resource in many aspects\nof life: education, employment, government, commerce, health care,\nrecreation, and more. It is essential that the Web be accessible\nin order to provide **equal access** and **equal opportunity** to\npeople with disabilities. An accessible Web can also help people\nwith disabilities more actively participate in society.\n>\n> The Web offers the possibility of **unprecedented access to\ninformation and interaction** for many people with disabilities.\nThat is, the accessibility barriers to print, audio, and visual\nmedia can be much more easily overcome through Web technologies.\n>\n> The document [\"Social Factors in Developing a Web Accessibility\nBusiness Case for Your Organization\"][wai soc] discusses how the\nWeb impacts the lives of people with disabilities, the overlap with\ndigital divide issues, and Web accessibility as an aspect of corporate\nsocial responsibility.\n>\n> Another important consideration for organizations is that web\naccessibility is required by laws and policies in some cases.\n\n***From [WAI’s Introduction to Web Accessibility][wai].***\n\n## What does the hint check?\n\nBy default, `hint-axe` contains hints which run all the\n[WCAG 2.1][wcag 2.1] Level A and Level AA rules included in\n[axe-core][axe core] with `document` as the target. These rules are\ngrouped into hints based on their assigned category within `axe-core`.\nSee each contained hint for the specific list of enabled rules within\nthat group and more information about each rule.\n\n## Hints\n\n<!-- start hints -->\n* [ARIA (axe/aria)][axe/aria]\n* [Color (axe/color)][axe/color]\n* [Forms (axe/forms)][axe/forms]\n* [Keyboard (axe/keyboard)][axe/keyboard]\n* [Language (axe/language)][axe/language]\n* [Name Role Value (axe/name-role-value)][axe/name-role-value]\n* [Parsing (axe/parsing)][axe/parsing]\n* [Semantics (axe/semantics)][axe/semantics]\n* [Sensory and Visual Cues (axe/sensory-and-visual-cues)][axe/sensory-and-visual-cues]\n* [Structure (axe/structure)][axe/structure]\n* [Tables (axe/tables)][axe/tables]\n* [Text Alternatives (axe/text-alternatives)][axe/text-alternatives]\n* [Time and Media (axe/time-and-media)][axe/time-and-media]\n<!-- end hints -->\n\n## Can the hint be configured?\n\nThis hint uses [`axe.run`][axe.run] and the default values ([WCAG\n2.1][wcag 2.1] Level A and Level AA rules) over the `document`.\nYou can modify what rules or categories are executed via an `options`\nobject that follows [axe’s documentation][axe docs].\n\nSome examples of hint configurations that you can have in the\n[`.hintrc`][hintrc] file:\n\nDisable a rule included in the default configuration:\n\n```json\n{\n    \"connector\": {...},\n    \"formatters\": [...],\n    \"hints\": {\n        \"axe/language\": [\"error\", {\n            \"html-has-lang\": \"off\"\n        }],\n        ...\n    },\n    ...\n}\n```\n\nEnable a rule excluded from the default configuration:\n\n```json\n{\n    \"connector\": {...},\n    \"formatters\": [...],\n    \"hints\": {\n        \"axe/keyboard\": [\"error\", [\n            \"tabindex\"\n        ]],\n        ...\n    },\n    ...\n}\n```\n\nor if you want to set a custom severity:\n\n```json\n{\n    \"connector\": {...},\n    \"formatters\": [...],\n    \"hints\": {\n        \"axe/keyboard\": [\"error\", {\n            \"tabindex\": \"error\"\n        }],\n        ...\n    },\n    ...\n}\n```\n\nChange the severity of an individual rule:\n\n```json\n{\n    \"connector\": {...},\n    \"formatters\": [...],\n    \"hints\": {\n        \"axe/color\": [\"error\", {\n            \"color-contrast\": \"warning\"\n        }],\n        ...\n    },\n    ...\n}\n```\n\n## How to use this hint?\n\nThis package is installed automatically by webhint:\n\n```bash\nnpm install hint --save-dev\n```\n\nTo use it, activate it via the [`.hintrc`][hintrc] configuration file:\n\n```json\n{\n    \"connector\": {...},\n    \"formatters\": [...],\n    \"hints\": {\n        \"axe/aria\": \"error\",\n        \"axe/color\": \"error\",\n        ...\n    },\n    \"parsers\": [...],\n    ...\n}\n```\n\n**Note**: The recommended way of running webhint is as a `devDependency` of\nyour project.\n\n## Further Reading\n\n* [Deque University](https://dequeuniversity.com/)\n* [axe core GitHub page][axe core]\n* [Web Accessibility Initiative (WAI)](https://www.w3.org/WAI/)\n\n<!-- Link labels: -->\n\n[axe core]: https://github.com/dequelabs/axe-core/\n[axe docs]: https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#options-parameter\n[axe rules]: https://github.com/dequelabs/axe-core/blob/develop/doc/rule-descriptions.md\n[axe.run]: https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#api-name-axerun\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n[wai soc]: https://www.w3.org/WAI/bcase/soc\n[wai]: https://www.w3.org/WAI/intro/accessibility.php\n[wcag 2.1]: https://www.w3.org/TR/WCAG21/\n<!-- start hint links -->\n[axe/aria]: https://webhint.io/docs/user-guide/hints/hint-axe/aria/\n[axe/color]: https://webhint.io/docs/user-guide/hints/hint-axe/color/\n[axe/forms]: https://webhint.io/docs/user-guide/hints/hint-axe/forms/\n[axe/keyboard]: https://webhint.io/docs/user-guide/hints/hint-axe/keyboard/\n[axe/language]: https://webhint.io/docs/user-guide/hints/hint-axe/language/\n[axe/name-role-value]: https://webhint.io/docs/user-guide/hints/hint-axe/name-role-value/\n[axe/parsing]: https://webhint.io/docs/user-guide/hints/hint-axe/parsing/\n[axe/semantics]: https://webhint.io/docs/user-guide/hints/hint-axe/semantics/\n[axe/sensory-and-visual-cues]: https://webhint.io/docs/user-guide/hints/hint-axe/sensory-and-visual-cues/\n[axe/structure]: https://webhint.io/docs/user-guide/hints/hint-axe/structure/\n[axe/tables]: https://webhint.io/docs/user-guide/hints/hint-axe/tables/\n[axe/text-alternatives]: https://webhint.io/docs/user-guide/hints/hint-axe/text-alternatives/\n[axe/time-and-media]: https://webhint.io/docs/user-guide/hints/hint-axe/time-and-media/\n<!-- end hint links -->\n","publish_time":1665085400980,"_cnpm_publish_time":1665085400980,"dist-tags":{"latest":"4.4.21"}}