{"_id":"axe-testcafe","_rev":"39-0d8044280708d2e0fe96dfa37ad095b4","name":"axe-testcafe","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"axe-testcafe","version":"1.0.0","keywords":["axe","testcafe","test","accessibility"],"author":{"url":"elena.dikareva@devexpress.com","name":"Helen Dikareva"},"license":"MIT","_id":"axe-testcafe@1.0.0","maintainers":[{"name":"devexpress","email":"js@devexpress.com"}],"homepage":"https://github.com/helen-dikareva/axe-testcafe","bugs":{"url":"https://github.com/helen-dikareva/axe-testcafe/issues"},"dist":{"shasum":"5c0430e445ef9ecc2ec15c17aeff295776068777","tarball":"https://registry.npmjs.org/axe-testcafe/-/axe-testcafe-1.0.0.tgz","integrity":"sha512-eWJEDOA4ClirlP8EbRGoaDRnkR9X93UKbXpkbAQ8fa0BL3usdEO+A3ZVja9kgnBbRLNdQfb8d1/h1lSuhmws4w==","signatures":[{"sig":"MEUCIQD2Z21LYPiw2O3Nt+8x78wZpAZSJCWYoFM6VBd+uq3JMQIgIs65DM8hUrSj43lqmXHnSi9v9XMNlbLJlvMAVA+LM+I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"5c0430e445ef9ecc2ec15c17aeff295776068777","gitHead":"1cd01bf1eb013235fa258723faea1d07ea969580","scripts":{},"_npmUser":{"name":"devexpress","email":"js@devexpress.com"},"repository":{"url":"git+https://github.com/helen-dikareva/axe-testcafe.git","type":"git"},"_npmVersion":"3.10.10","description":"The TestCafe module that allows you to use the aXe accessibility engine in TestCafe tests","directories":{},"_nodeVersion":"6.10.3","dependencies":{"axe-core":"^2.2.3","testcafe":"^0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/axe-testcafe-1.0.0.tgz_1496819905030_0.4623646407853812","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"axe-testcafe","version":"1.1.0","keywords":["axe","testcafe","test","accessibility"],"author":{"url":"elena.dikareva@devexpress.com","name":"Helen Dikareva"},"license":"MIT","_id":"axe-testcafe@1.1.0","maintainers":[{"name":"devexpress","email":"js@devexpress.com"}],"homepage":"https://github.com/helen-dikareva/axe-testcafe","bugs":{"url":"https://github.com/helen-dikareva/axe-testcafe/issues"},"dist":{"shasum":"b4e0e7329694fb090a599ebac01bba57625e8ebf","tarball":"https://registry.npmjs.org/axe-testcafe/-/axe-testcafe-1.1.0.tgz","integrity":"sha512-x+01Ac172tgrxD9cRPO32GgpqB3O5fmxV+v5pM/8MpKtFiVmV20tCUhk2oKQb1eOZy4hBCskNMJ3cDb0REhzKQ==","signatures":[{"sig":"MEUCIQC73phmGDQKocr8jvAAjdrLCP6GBGbwxoaM4IDSoGHLIAIgfwNPMElrjCgykw5zvo3KPt0CsEiCARRwuBJ5++jfQ80=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"b4e0e7329694fb090a599ebac01bba57625e8ebf","gitHead":"b136d708de19d3dd2bf35e503faf416309b14bcf","scripts":{},"_npmUser":{"name":"devexpress","email":"js@devexpress.com"},"repository":{"url":"git+https://github.com/helen-dikareva/axe-testcafe.git","type":"git"},"_npmVersion":"3.10.10","description":"The TestCafe module that allows you to use the aXe accessibility engine in TestCafe tests","directories":{},"_nodeVersion":"6.10.3","dependencies":{"axe-core":"^2.2.3"},"peerDependencies":{"testcafe":"*"},"_npmOperationalInternal":{"tmp":"tmp/axe-testcafe-1.1.0.tgz_1496838182381_0.018316591158509254","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"axe-testcafe","version":"3.0.0","keywords":["axe","testcafe","test","accessibility"],"author":{"url":"elena.dikareva@devexpress.com","name":"Helen Dikareva"},"license":"MIT","_id":"axe-testcafe@3.0.0","maintainers":[{"name":"belym.a.2105","email":"belym.a.2105@gmail.com"},{"name":"churkin","email":"alam17@mail.ru"},{"name":"kirovboris","email":"boris.s.kirov@gmail.com"},{"name":"lavrovartem","email":"artjomlav@gmail.com"},{"name":"miherlosev","email":"miherlosev@mail.ru"}],"homepage":"https://github.com/helen-dikareva/axe-testcafe","bugs":{"url":"https://github.com/helen-dikareva/axe-testcafe/issues"},"dist":{"shasum":"6bd0c6db10c45437fc29d1aba2e0fa64410b2dac","tarball":"https://registry.npmjs.org/axe-testcafe/-/axe-testcafe-3.0.0.tgz","fileCount":3,"integrity":"sha512-zcDXA5oDYQSWRJHD/WTy9P79RkrO2m/N81x3eL158/GFzLbqUW/aRE538MwoSknmglh73SXs/ChRUwxDx6AgkA==","signatures":[{"sig":"MEUCIBSI7YtnnrwP9akfTg+0BAPsyjnqx13ZBSkCZ3LyO8zYAiEA11Yaz3KlD1hoE5GSxnZxveYg0SpWUlaMt4F+uUej6v4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAjtvCRA9TVsSAnZWagAAKUkP/i6ceVpl1QQgnJzZRQbe\ncBw9OqIX81KKlFkETadNbQNgLpIT0u2DuV884DAbsOjygIzek1ETHX6a1snG\n+JyZ3pZdRMxHe9JOeW1uAb7g1jgXVbtT+6UFjA8BS92W78YU8PUfTwmbZCsU\nvRbGuWalTbhsKMuUGYZo6fy6EisY6xP4+575WZyT6m5NISFO2aWRBGGh0X9W\nVxUoIU1UjmrcqKerE0MRwI7o0+gDwjhcgihGClvp1lTAf0CNfdIPfpAZiElQ\neEF8N723LYB4EU4fhktwH/wyou1+tmou54UzNv5fSMh4U3z3PB6auL/wzZ+A\nYnkZZfQvPEJc/tzpEHq7icrYxmwVRkqR+VH4GP8kx1T2q/BP2yPpD7gB67Vs\nOmEXq5jQDNv1pdp77aIZDo3nu1e/276gZCqD40N6AhRhH7xJCykv8D0Vfo/S\n2uAqY7bMcizRnuoyFOv8ezHI/x3P8rQG0ExkmmKWXgMJHfzrnj6uyTYf+lC9\nQ8FF7IdhwOXfCJY8kPU8l0uxhVGqYVn3lBZvp4bKpGglUfvEuKUB9q/QzTtQ\nwFqrgk7zJ2SQZpXtfObtCtEeDguMwUWi8DQbL+gByWjGusEFGhBPYWpmoMGG\n4cW10VLzbriCCqB1JwOdID1VK9kiTvdc7Ffcpck3fVujlHm6RDrp4WakO+Tr\nR6n/\r\n=M0BZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=8.9.0"},"gitHead":"2f641856338e99dee6472e9683e5b8e71c40964a","typings":"index.d.ts","_npmUser":{"name":"belym.a.2105","email":"belym.a.2105@gmail.com"},"repository":{"url":"git+https://github.com/helen-dikareva/axe-testcafe.git","type":"git"},"_npmVersion":"6.4.1","description":"The TestCafe module that allows you to use the aXe accessibility engine in TestCafe tests","directories":{},"_nodeVersion":"10.15.0","dependencies":{"chalk":"^2.4.1"},"_hasShrinkwrap":false,"peerDependencies":{"axe-core":">=2.2.3 <4","testcafe":"*"},"_npmOperationalInternal":{"tmp":"tmp/axe-testcafe_3.0.0_1560427374675_0.9588170726162195","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-06-07T07:18:25.957Z","modified":"2026-05-18T16:11:18.867Z","1.0.0":"2017-06-07T07:18:25.957Z","1.1.0":"2017-06-07T12:23:03.257Z","3.0.0":"2019-06-13T12:02:54.816Z"},"bugs":{"url":"https://github.com/helen-dikareva/axe-testcafe/issues"},"author":{"url":"elena.dikareva@devexpress.com","name":"Helen Dikareva"},"license":"MIT","homepage":"https://github.com/helen-dikareva/axe-testcafe","keywords":["axe","testcafe","test","accessibility"],"repository":{"url":"git+https://github.com/helen-dikareva/axe-testcafe.git","type":"git"},"description":"The TestCafe module that allows you to use the aXe accessibility engine in TestCafe tests","maintainers":[{"email":"romanresh@live.com","name":"romanresh"}],"readme":"# axe-testcafe\r\nThe TestCafe module that allows you to use the [aXe](https://github.com/dequelabs/axe-core) accessibility engine in TestCafe tests.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install axe-core axe-testcafe --save-dev\r\n```\r\n\r\n## How to use\r\n\r\nYou can write a TestCafe test with automated accessibility checks like this.\r\n\r\n```js\r\nimport { axeCheck, createReport } from 'axe-testcafe';\r\n\r\nfixture `TestCafe tests with Axe`\r\n    .page `http://example.com`;\r\n\r\ntest('Automated accessibility testing', async t => {\r\n    const { error, violations } = await axeCheck(t);\r\n    await t.expect(violations.length === 0).ok(createReport(violations));\r\n});\r\n```\r\n\r\nIf any accessibility issues are found, you will see a detailed report generated by the `createReport` function.\r\n\r\n![Accessibility errors](https://github.com/helen-dikareva/axe-testcafe/blob/master/errors.png)\r\n\r\n## aXe options\r\n\r\nThe `axe-testcafe` module allows you to define the `context` and `options` [axe.run parameters](https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#api-name-axerun) in a TestCafe test.\r\n\r\n```js\r\ntest('Automated accessibility testing', async () => {\r\n    const axeContext = { exclude: [['select']] };\r\n    const axeOptions = { rules: { 'html-has-lang': { enabled: false } } };\r\n    const { error, violations } = await axeCheck(t, axeContext, axeOptions);\r\n    await t.expect(violations.length === 0).ok(createReport(violations));\r\n});\r\n","readmeFilename":"README.md"}