{"_id":"@acot/acot-preset-wcag","_rev":"41-c77a8b7460dbe64add47fb45400bb217","name":"@acot/acot-preset-wcag","dist-tags":{"canary":"0.0.17-canary.2","latest":"0.0.19"},"versions":{"0.0.2-canary.2":{"name":"@acot/acot-preset-wcag","version":"0.0.2-canary.2","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.2-canary.2","@acot/core":"0.0.2-canary.2"},"publishConfig":{"access":"public"},"gitHead":"361cd2b448439fd769c20b757fe86abe67f653ee","_id":"@acot/acot-preset-wcag@0.0.2-canary.2","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-s7dKEL5wOi4d4I5Wqf1qcom8IM2Z2wePCo3luLL/SR5/KLBEEIJBe9jyMaUATs4f0XTM77f1W+W90opX4dyIZw==","shasum":"5dc119ab7b37b1aebadc3f9794041d7cc991b394","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.2-canary.2.tgz","fileCount":20,"unpackedSize":16164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpBAlCRA9TVsSAnZWagAA33QP/i7BmVcadN44bDBokvVs\n8gf3L3iL+8z2mTeE0I3uzVY9CpEU2ULbO08KZbMHZPjbToDkNGV8983ujcuS\num+9xtBTwXPsQksnqbH9Txxl5I67JrzbyHNXFseX1TSPsQAjLKqgwgZUb0ou\nMBCbLuwHZCAah6mdsxXtwekKzODMbj8p65ui4iBwA6SE3DA69RBV5fe7WPnc\n2ryEbRBJ4wFnNgoWFnjdgm001XbQRd5E7HI/1rlrV8F4YxfbYvfhQWKoKPoF\n6zZQTAtbSjyhLd+ajpv6r5G9az6+GlO5rdWLV86D5lyCeyPBA7jd2GnGZkfI\nNAE+57B4k+pRzgJY95S2mF/lkdqNGDVOWj09/wIb7eDSJcjESSsxeHksIxp0\naRM0E58CJpUcVTAe7IiUHxOxUHPKc5X7mq5/RhTJKUb1eOJovNcQoF9H1yDF\n7vnMLAtB+vzg48upMoDFm22mB+ukGJy0tV3dVmn5htnInjpB+O7KnWBPiXhj\nE1Y1aE5K26veNNnhcGQnZaZf6h3rfydcIF120qGcbCn22WsuWyTJ3IPtV4Tc\n048IbxKonhTUnpP77xsjSYDe+2s8U0I2DDV1Fgj7cjJ75pqoC4fMbf0NXBUZ\neEjGcQdH4jKX3Ov26CMbEYFp22tT4vbCVsspNrCVUWMQz1cA76/MyfyMn2kl\nsNWF\r\n=SAjE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClcXJrfXk+Myv6k7loRI1MtsXZF1WU9MtTZMz6gz2OFQIgbZ8EGpHbdgfoakAAIfVglgxfqQoyQKqbGrEmW87PN7I="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.2-canary.2_1604587557066_0.9273515862813739"},"_hasShrinkwrap":false},"0.0.2-canary.3":{"name":"@acot/acot-preset-wcag","version":"0.0.2-canary.3","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.2-canary.3","@acot/core":"0.0.2-canary.3"},"publishConfig":{"access":"public"},"gitHead":"c921838de208bc5f5a81745a1d8adde745828363","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.2-canary.3","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-zqRsS8Awte+WcUbn1Is7OV3vK+qp4aETXMdjY2yRexDER38r9IWAvDYaAZLUPCgQG+UyRUUNEpJEbvDvenOh2A==","shasum":"0bb4a91915c69dd2963deacb85ede01d39203731","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.2-canary.3.tgz","fileCount":20,"unpackedSize":16549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfp4XZCRA9TVsSAnZWagAAdkoQAJy/Ll58C/KCUQyZbG7f\nfjzDai/RSaY0o1CX/f2kSDcio6Pd/bXLohz42piMdJifFqx//BDXuK0nxxy+\nxT4zxtuPZUYnUoz8Qnl0PUT2VUYKHnVMrgKcE/uE+85pJjDu+7Bo+FVWAZXr\n8NjTQia3wZpNdxXQPINF7McIkeT+RhCNspEqNlim7yjhRrrBddy521RHTQGi\n7TP3jOsAb4kuaMdUQ8t/jE0zmSAuNoDdozyQ1PF29vVGvYbaPzf+g11ryor5\nnabT9axZtP4DnQs6YsixH2+jhKwJf3l2zWAVOTvxV8fGDOXB24Z0hv7ZxiJL\nejilbThrlMen5s7OAyL8smcZucCwX0w0tkjkC1jK8EiLsdMVQnO9p3qTnAen\nA1o4euFHCbIo8TCDbs4KJkeNdbUMt6F90aaqcbO1zmYxjoPrSBxC4SM+r22k\nx/x2RcpZh5IWW0QVCO295/TegEY9W5OBUP5Tv0RFOT3LQrH5w9aNj4pZNVQJ\nE9YoH75WeJ2X88Lt9iKsc8ngjbzWqKC/PRG+rlGEYwcWAIDg8Z0q7jn2+gRj\nvdImkBk3AD2ajAElcIfWpjQVwlB9c+XnOIpfTbBMBpq86y8YcXdtIqsTeNpZ\n5pU4cfyqgySPVNiFkLQX/WMzZp1k/b5SnBWkQHLbv3aMXQ6lnLtYFCKNjdKF\nq5An\r\n=+iSq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDCXPpCwZdo+gtKWz8p0HqYzgKeBnO4dNYkgAAYxkLeAIhAI0SHCoEnlh7a/ies46jc80F+AZFLKYiNu0tn71OUFZA"}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.2-canary.3_1604814297281_0.10226408067033588"},"_hasShrinkwrap":false},"0.0.2-canary.4":{"name":"@acot/acot-preset-wcag","version":"0.0.2-canary.4","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.2-canary.4","@acot/core":"0.0.2-canary.4"},"publishConfig":{"access":"public"},"gitHead":"553e5c3111262f3500eca32fc00b2511aa169061","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.2-canary.4","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-gnx+N2YepbXpJ2MhEQGXLv21CjFafYCqDcDPpBxIr654NP96wKc71gQkhsXDYu0NWrQvGqdQQ2FfhQ4E+2LLrg==","shasum":"a8a049c11a6c70a2ea076a8d390a22bfa5b1dfc0","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.2-canary.4.tgz","fileCount":20,"unpackedSize":16768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfp7AwCRA9TVsSAnZWagAANYcQAICbYrdv5VIeCRQ083KB\n1IDTvm7A10yWf8wS9VO6uhXbNq2gzcWhOjKwI8mcVUxMbNbSGKmVJSODOq8z\nSAsKQr7PH8ZTlHIsk96j+7Po89a3oNg6hA5y9Ha+MUugDF7rMKfHFNIOYbze\nLokR+JKrZ4EfZ0vZHWR3NRrm5f5VRAXPgoXRQh+5jrHG8anmQo7WggGSA1rm\nBtM+bIAnEAuOwnJ4XLtvRO1siTVVzT9aE0QOuHhg3gDk3vDiXldaw625CRGK\nkQbjyJ2nG8uEpjIHJj2Fg+kbDv9Es2f5LmycN+11hFbCJ3hIgs3hmMi8gEe6\nZUQRfAmDAQYCYdGev8AVvcW4hfeNWG2gMOGH0g4TAcaD4ThIIsdQbTuOkMfq\n0o6T1VP73bkxbzYkc9xZ9Fy/JzWFdxcCDYiQRCzYkPFsL22APEpM6tO2br7l\nMSN1+PgXyuUcu2v4xigSt5LQzP0Ll5JVwsnrtc2plUEIC44nZjWt33vaW4sJ\njH0vCUGj4HxeiGRwCOwBuBHksdG1j5ZeHnzmTwtKgEF05DNZ274jiaVDOLeU\nr1Dl8M3774QneRDfguMcrpr6xylTCgyrEfMYUcSVjX2bMCcRN/VUG7eY1NgZ\nWOexJZw0ZjOe9j+1oJtiJHsyt+U1rA2RjnJDdw781aR8Wj1rQFGcHqKr7RaJ\nCFd0\r\n=n849\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF7gqVpPgALxpNj5NKbVvyN8Fs0lAYPLbKgMwHWa+Fy9AiEAixQVF71qYjABJlqWKzxHmxF+fgcSyBkTBV+94ZlXWVw="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.2-canary.4_1604825136008_0.9288328129874548"},"_hasShrinkwrap":false},"0.0.2-canary.5":{"name":"@acot/acot-preset-wcag","version":"0.0.2-canary.5","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.2-canary.5","@acot/core":"0.0.2-canary.5"},"publishConfig":{"access":"public"},"gitHead":"898f19f955bdf4afdc8179e12aca617308d377da","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.2-canary.5","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-SMk0LCrNaQS33Vk+Q9MeSHQr4Qp0kVc1huMPH2+M3DTguEsLFcqTdI/aik/ehvKMGI14/7wpmGPcEIHFjflpog==","shasum":"46b44cec3805cb2a541a329001fd569172a7728f","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.2-canary.5.tgz","fileCount":20,"unpackedSize":16987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfp8PSCRA9TVsSAnZWagAAe10P/A6RHZrAiDdEjlN7aGNP\nw8thV5rx4jR4mHCRQSSGXjFsDpPANz4rKC2ASCqvB+bFI10YXQfIiqdehIrj\nKlH7pbabIUerBW60yK/ImeQ71Xf6MA+Cr/V/o2DevZI+byOHbpjpxJd9oWmR\nW5SkkEoP3iyFIcJ58fYohyuKqpwKXlYIed0ijQSi44BTjYcre04eQ/nOhdDz\nu3AaO1yAzoWEbQIOuQA8mQi9JF8yvTkR3sLw3nCiyaqoX3bPcZhB/CPJipbY\nRMMKADocLQWYnFHArtchm9QoytkNZ4AyEQ27GKKljbK7C5AA+eL3TGzJeEsN\nDZZYyZ/r+E3tXMV+JRTgRg0DYwUTuJjda+zRjajGz0fTY1LzZKk9jSd2aMaW\npiAEQFtBxpFeHzTMKZmyfm5xuX0WnZ7AarI7dOYFtZPbId4f8PeUbvwBKZ5B\n4gvDIWHjxjCXEm4Ykl660Zw+khohRY2P0Bd3Wt+Mt2RVtzXo+yqiizGMV2y1\nKRvsTG87q6JlFeYVWs7RID7iZQqDAxlvH+BNheL54rQ+tcHsvIl14KMJdjW1\npFix9zr81YwwBv+bNCCpa+FSiXsquG5mt2UbchuZnWJWwaQwsvTnrJnk0QXc\nDCxFr14dQoXlzkjNQWMCNDLmasmcM1I55+TR+v+ouClQn8tvILUwD3pFNXW2\nboAM\r\n=236y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw1i3JqA7DFq7FO7YpbN4KRq6nm50uTUA0O5W6aGSYnAIhANm7RAzdMxt+auDWx2ADqHDeneUPv9hKQvxvOyJ9bTMR"}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.2-canary.5_1604830161656_0.15049133437216966"},"_hasShrinkwrap":false},"0.0.2-canary.6":{"name":"@acot/acot-preset-wcag","version":"0.0.2-canary.6","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.2-canary.6","@acot/core":"0.0.2-canary.6"},"publishConfig":{"access":"public"},"gitHead":"6244c809a70d540a5ee5fe360e75ad0f62c129f3","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.2-canary.6","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-jErPjolMxY/y9xj9qTzOPN+eMKggCH+z6drUrn2Hs6EP/3VPwDGKI8WrHmZ6YvaMxUGjA5VfbguLpHhtyIJusA==","shasum":"5e804dd8871ac36e718329af5c03b06b48423d87","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.2-canary.6.tgz","fileCount":20,"unpackedSize":17206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfp/dKCRA9TVsSAnZWagAA6kQP/3LT090w61d2euCyyunw\nwRAgsLCRKhrUsMukgD1Rtg+FHYRE8SvkzsfGfw5YTFdRCIUcXxbVJBUrV3WH\nWfuDLCwcYYJPAiHN+ULruHPlQe1CpSBRJ8feeRYQ+WtWVChnx2bELIfOHVja\n+X6VSkt4psbaWV/oxhFRo1wiY0MeM7Fa8PdoIBlGfk/ol7vEA1pC4cfMg7ll\nLxQGpy9hzu42GWJ+fiLRp4vOsxAWa6Qcu9zLNjDQ68x7ixVT33lR7yOZAvlP\nA3WvPphZOf8Cvfmf2aqZJPlAx1kndSz5e8pRHQGuKrEFvjIM/cS43ynhWRgj\nCGcamMaPMdCfYmMBrBfNONby3huFA8KdeNjr8lSkiXX0Asx6vzHPxDmnO03X\nkMYgvsMQ3WIW9ribPo5oMM0mjcb6TjLkMqpzTpRfdhvk6fa+FPD4ooo9O79q\n3J+lEpIDv+SIzyE767t461ykmrWbmDHjF0VfDII/bVyNBaktCC/dk/hfmU2C\norMu2xniuw+6ZzCivbY0IDYRea5hjJki7uDD1EEDwQiZkzUWzsGwA9j5hAh2\nccV5kdFMCSGD/FDNryQukC63ZztC+bSJJrYgWv1AU8AljCiAOQrcF6xJ99Js\nGVkmWTYgX90SBBI4v/TrQ6L+/qNcZ968OdDta4QBTOV2OeFRg+0u/eheloGd\nwbdC\r\n=c2JI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+2Pcv1K2fvPpbRutaYl+i48lpgYU35GA9MbAS1v4x1QIhAIGxHHNefviDUTRlykx0SdakUWn6fJ68rp5ZOnT9eHJz"}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.2-canary.6_1604843337773_0.9300643258988825"},"_hasShrinkwrap":false},"0.0.2-canary.7":{"name":"@acot/acot-preset-wcag","version":"0.0.2-canary.7","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.2-canary.7","@acot/core":"0.0.2-canary.7"},"publishConfig":{"access":"public"},"gitHead":"80705d0103e66e4654b9cda5d66afff877cd6daa","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.2-canary.7","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-Czu6od1zedoRj3qn4uzEshHMtqskMD3/+De0aCN7jF3XOwTSL+SwSc9v0y1g6Bgpan22V4jrDUUVk7+uJdz6lQ==","shasum":"28fac60945c7a9533ff7c66f206eed437b728396","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.2-canary.7.tgz","fileCount":24,"unpackedSize":21628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfu2cLCRA9TVsSAnZWagAAy78QAJNFBuyDQwaH2NfNaLid\nw92Xt+R494N11YA46ZBdf0RXUtpzmuT2WfeZViUehfqrosd7YBjrcJ1hnKnb\nefA7WiQEYVFQ/GhgMTQTtKngvjZANt71M8zGGOnpj+wlthuhWDnmqRLfH/Ob\n2eiPQlfSnwJriQVRLJykzeSaqZxO9PLlPcEjD4aLssBO/oQfWJKmZ6kqMpuw\n11+H7mNv/xSOwmc9LQiqpCAvh4hdyHynxXb+7SqErcnYPzcWrSyIlQn1k4tM\n/eJf6dn5/ptj6r+kQEYYQJH0b+Bn1tfN950QnN0dlLEU8FcsN8Ebe4lw0nYy\nAXC160pVz709eoyikw9YA44X9IjvxbsZXhoMMKL2w/cYZRv6fu2BnymHBrg3\na1H84Z8FUB8Boyunk0pakXL89ehSHeV5ptjZCQJVo474pOrPKP2O1ufeEcKN\n3imnR6XI/w/p0RahRcFhSYwHLk7PLzsHQERLsyhgnuenEClGgDpvZVBbhjj5\nBBmr+Jds1ZfLudwkJPLoOgStn7Ask+8jNeLiQTTfLcaeqbWaOHVXH08LAeR6\ngz7CkAc3QYq2LAwtrVVUqrxCm5LodAzyZs+062I+FA/wjodhELPx4r4Or5fD\nVCQIx7OLiy4dPrNoz7L3ksiZJwxEIO7LXDFIGPVVFtzZi4LcflTUiaEvNVxs\n1NbR\r\n=HpnB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFYeLN0UF4nBzk9tzgLS2eO3jhTPKPHWeQia90qOv0c2AiBZpQeo3K7tByNKhl7ovP0pkWoJ5YKhmjAQ1MMKBYbCWg=="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.2-canary.7_1606117131049_0.9627332952382446"},"_hasShrinkwrap":false},"0.0.2":{"name":"@acot/acot-preset-wcag","version":"0.0.2","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.2","@acot/core":"0.0.2","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"0213161e3b268d769211bcd75d1d5f7f4e1818ad","_id":"@acot/acot-preset-wcag@0.0.2","_nodeVersion":"14.3.0","_npmVersion":"lerna/3.22.1/node@v14.3.0+x64 (darwin)","dist":{"integrity":"sha512-wz2x6Stg6d8d/2KPL3y/p8zneM/xHnRCb4vNgYpYvJ3bP4TVKGcaTSZhfD8t/WIQN5kJq23a2dKAKHVOhJ3slA==","shasum":"e2b55fd136bfd61237b3b37afb76833ab0dba591","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.2.tgz","fileCount":28,"unpackedSize":24672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0Yw/CRA9TVsSAnZWagAA59AP/28YbF9zpwPu3yNA132H\nZl49UNP6XORRsOhE0aa6MZwNCFDozBBverJbHUYYtAQ+o7akEZqqaL9YaKTg\nokY9qbaNEu2ZXodchzWXIx5CDdq6psXpIp1H+8+B0XDPG5mULodxCfG+nHKL\ncjBXkMgsf7tEe9l29w5m/lVQYYHxJocmo/RXRNrStZirC3l8Y5FzOPEhS/9R\nu5UFm8NBl9D02xBeUO0nuBUNZAORtZtgK5QSW8FtU7XL+PE8jczf872Z/KVy\nM682A3+ECzkcLMZuKjU6BYSl+WA0olAOA48oQwtaYhw1PWHuoW9IjSAB/xIR\n9QAR+VZfqB9kTfD0UGB0uXikxpA4ekk94jueAbJP8FkEsa+4sNnn2ydfXKLX\nUPOck+6YsUXn7EI0yMhO/xKNRb2b711fgYGszJypR1wBOkOszWKIXtIUe5v6\nJ5k9Fe1SKgPs0+QsaJUeBCMDa7MjnuOUwuy4hHvNEX5KlDCuqtQ/QyaPiq8P\nIAWex1x0RvslC+zQsBvg4xmiMkMna1roztBchZrazMELPyRR6EwrVUGxiWDY\nEa9mUAWIFi3/GLXo5K+t6tA28cW4AK9AKtu8vJH1fGF0pp8I7r8wosREXeYb\nCGJHBjfjkwiw6I6Qv2CcFybO7kDY07kx1yw6qSidUa0mwm48Y8v2yeWFoPPu\nGpYx\r\n=mmB7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZvcDZbq0U0qEcCCMELOEtVxVNUVJZL7fpxf+Q35DRVAiB9jMDRiwP5zocz7aJTeAq/LQyuRoM6htu9G8j4oSW3rw=="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.2_1607568447154_0.5070532865172579"},"_hasShrinkwrap":false},"0.0.3-canary.0":{"name":"@acot/acot-preset-wcag","version":"0.0.3-canary.0","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.3-canary.0","@acot/core":"0.0.3-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"c571c7f4be438578dc2dbd522013d2cac4f185a4","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable elemenet has a focus indicator.                                  | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.3-canary.0","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-I+MtR+pFibO0okpEHnlGgSGeyu8YWQVauVFMBkGofYQvo4MNU5fhPU5vrMizi4a97Km9KmdfZMJdLT6eCVqdQQ==","shasum":"ae07d93538ec408bcdd9512a7006a0de78811ea0","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.3-canary.0.tgz","fileCount":28,"unpackedSize":27063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf13sUCRA9TVsSAnZWagAA9wMQAIs6OrrK7ZlgRfoJW15y\nT2F/z/Mlm8CgZLY2NAyLtZKaqzBQ6tr+BWm+pTjFkh5ePawzqZoTx9/uvL4Q\nHF7pWZrZd3Vyhe4ngM2sb48B3LCZ2N05Jg88dd7HYx3T3UiprLXWcLXdmIP2\nmwY9hYP8ipWYWpW6yV2XjsLC7YJpefSLWQ7P/WBHSVMCEKPvF8kLWRZUkQOE\nuLQ5iLu5DrX03jUJ5GvqHTDDWtOvoq2iQGQAtPlkkx5RXNDYFAC3HjAFm/oh\n3LSA+AfJNLffRJ2xhvp1nLZrjFLEppQ4suu8GqiKbI1m4vl+MPO2xQ7wW4K5\nbUEYZsUSs+9ksqhfKM9qeYGosBBRECguMEm9a0pwsOpxkZwnn4dDhqegIB3j\ntRWSRIOmoOXZ1hS1JGkdVgtEs0fUnmweB7HG+GGldh2F4uguxUMqWvdckzUq\n/3wv+iAXmitomfZoCoRqllRZh8NUp7ELqZSbqPZiAqWew84fvNa0GXtfnKpy\niTAMoEQAhWNHkHN7LlEXB/MacLeTXHIQh5jwrn//hIJw2T3LyX80Icp2A8Gc\nFyn7I22nLD0bG8Dv+gnwpX0JOOI7Hv2Ck5ZE9Zxyzu09w0EBN+Cp5n0gY5Be\nM5LE2ysbacOA5rMumn6kPVSBw1hXyhaExMlIdW+VSu84268I5hFMmu1q6IAb\nLX7t\r\n=CIPr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGGl76kkSlVjJRuC5wjtkyUBSgYHzErj/pQCEHe3weSAIhAOveWSzr79catQNnTGVmrw+MTX7o+wNgtOlFTE1HM66o"}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.3-canary.0_1607957267943_0.43334545641031785"},"_hasShrinkwrap":false},"0.0.3-canary.1":{"name":"@acot/acot-preset-wcag","version":"0.0.3-canary.1","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.3-canary.1","@acot/core":"0.0.3-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"7778bf88b39baac0a4d6d029408bb13c2ba211ac","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable elemenet has a focus indicator.                                  | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.3-canary.1","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-azmhHoflsbW//ctkU2dIsw9+orTCxxCKMEmdO9+M/sIkw1Dbv4kfc/qmJHjflvO2HlpNWjbiN/WTRnoZ4u1bag==","shasum":"996aa560b056b8e5ef7c4915327c341632c004dc","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.3-canary.1.tgz","fileCount":28,"unpackedSize":27282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2gZsCRA9TVsSAnZWagAAaMUP/1N0VTxNAaYl09FM8Kyf\n8NDuUY+Wxc7sBXEgVm/oNGmHFldBkN4GwnDXzBWgdATaDH4KWFa22bjC3Pa9\nvGnxp9Vu4lm0aRIkZTXVAZNElmnGT2LsbYvl7DqRzToX0BgIBehJWpyl6Q+F\nt32BW5iniSEDwjbCPePG7NSHECAiSFSipljCi79Xn7E1+OkF00khsR0UQJiX\n8Z7f3ZkIv610aR53zX6U5Hbijj6MU8DyzczNvegdM5Ger5FPeeeamWpsPDnd\nMHs9+NZB0jKzMvJ+MAsZw03jfEx3CZWpxClLU5iaWieryAei8Hxk/ju33FEP\nJgtFV+hJWlgrnS8u6/q5Etq/esRFTtYGZ4HbXgRKS4nwImeUNRyv+Cy3FOFl\n53wGzoRnHNT1GLgkUUC5jCHI08ujTkNkcgSm0Ad3d1j9dz24hoL4rGpEogqg\ntqhYk/FnFNaorkceymrFg9J/UWnPQ9s/hzPygCZ5Re8XBln/1p9J3zAifzkQ\n1+OPrS0lhbbNC+HYX53NooJ4P3vgxion2clhlsxpyI9kG/HSGa6h2CO+CGjQ\nHqqAr7n2BHZ+5xN9+L/HOLg8qemPX6xIJx6nhQhuyxhed0J9bj6g26HtfltU\nboMGKZaAcjxoWoPUvTUuyv4UpfInRPEYGFZxffPlUjyfWBSoOASLNwpq2f6i\nqZBw\r\n=/UWQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHkjI7ECiuFEt2zBHr32eaKFzCMyEnjJ1SnfJT/B76mMAiBqw1x+8j5sp+NqTVxYDRjVCPxX1CdYug6QNp/eVWbz1g=="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.3-canary.1_1608124011497_0.4376897540540141"},"_hasShrinkwrap":false},"0.0.3-canary.2":{"name":"@acot/acot-preset-wcag","version":"0.0.3-canary.2","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.3-canary.2","@acot/core":"0.0.3-canary.1","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"332f7a9be2dcf5b6a7838d5f53d03d8cbdfaac32","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable elemenet has a focus indicator.                                  | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.3-canary.2","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-4UTwlsGlEjkeIyiS/a5HVYxxTel7ot61pP+OQjuyLj8fgum8EL531HDWYlz4bN7cjugjVYfOR2iKzZjht3v8eQ==","shasum":"222069aecf81bb3687a74d069b7d3a21c5c5a0b2","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.3-canary.2.tgz","fileCount":28,"unpackedSize":27501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2jE2CRA9TVsSAnZWagAAlmsQAImmn2G29TwR82HEZ0Hg\nll/a8Vs1ne+R4EOxOuFCedTOhJCrv4x1nEpLM3eY1cw+9upQ9ZstDA/sl/2G\nA3djdlLgI6/3zF8nRC21T1SQEXHu861vBS5W89Z7UfFnqQWaNl2mH2NqoF/z\n/JbKPUFOEd5hj+0ToV7UbJEMmh2NW452T2FgS8zFvW1de6OS/I6Q9xMLBCSU\nbB66mT+fFD/0uqAmh6/jHS7OGu7AfQZRYeKqZcTuQTfxbZ4WwZKq56LRXyEj\nDaeQpHO+QMYqGnK2V4tfqxz1y0c3jgapXd04Ef/nIgQo8jwhUuU7PY5F6ocU\nSMDIFc1HP+ozYwSi8fjKUkmkO7u5o35HBpftGcla35Qr6JWx52oR+RkLZMBT\nhL5vLKQ2051SBCVW9LdKC7yBFFIU17SccWdbgfdF6c72JFepjjxFUyFWIEr6\nq3o5cvanVGsLUVOyBJ2VznvBNYNPjhabV26CpjTfu1qoY+Ght5DjrZu2iKl2\newukfTBCNJO2GB9hHM8gLkZwwFE4+9vtQ1iHoArCyksrDHjr04FLTRjUjYOb\nq81fySstcZWklm9uDwF6Jo3fjx1vNKbuT4aFW5CESPBNa0WrXS/odrBrM5v6\nmY77PtwBvvBedE+UlKKymzYDAcFP8YewCSE+gdVeSHe1IoJNrnfPbOBp58cE\n7E+n\r\n=FQd0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmrY9T555Rv2TOcNQnPStd8CZBXekCzXPWzEu/SA4HKAiEAzHbVywUl+AEO8Wbw+wuNHmQ1SgZ4lIJI/rbDHVSvqfA="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.3-canary.2_1608134965628_0.5595472630461924"},"_hasShrinkwrap":false},"0.0.3-canary.3":{"name":"@acot/acot-preset-wcag","version":"0.0.3-canary.3","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md -vvv","scaffold":"scaffdog generate","serve":"acot preset serve --watch -vvv","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.3-canary.3","@acot/core":"0.0.3-canary.2","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"9e6e18956656849d3ac334de77f6081d701d7d98","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable elemenet has a focus indicator.                                  | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.3-canary.3","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-90NvOZryU08F1nlgAuWt7k5aBe9gJRGPcBGkhjNIzj954BPQZV8e+MDYuRIVKwO2iYmwkDF/HDySSH5Z5AU5zQ==","shasum":"708bf3ddf4a7d2bffc5a72c6b9301623473a83e5","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.3-canary.3.tgz","fileCount":28,"unpackedSize":27756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3cg6CRA9TVsSAnZWagAAIbMQAIkitIe/f0B0cKwYFEWB\n4j2VWNEK1B1BI3OMDyPmD5Mye8NM1mN3FBL9oWHZdpgW94LPuq3WhjFFrhb5\nIsrZR/XpXR1QI5eRRXnPElpDWHF9GnCM1xB8P1Dj1f3/iR2Uw4AjW2vrjLNW\nxkeAbR5CkJZdNFwk3rLcUKZHpbJ8avYnNxYr1SZ6YkqpgYc0ImS8fLXf+ZQY\nl840j/hjYNLfwQPXDmYkfGmZHsXs6lImLM+xUWaTHm5aHNlOeDKsuTBDVLr5\nW16vxNO5zp4am+U9dCGuxKTC4UL3zqPX0PgBAQLBndKxhq5ZPLZUeoeqtYhT\ng1SQarm3C36tpc7aARNbLShGxe1sDL9Ug71rFI8DRpVJNtFJcUk6AW/SVRjj\nbfJ0cYHv3eAQKcPJ6JpC0Wswr2A7Q1aYl8jllKB4td4+w+Pb/X02t+v8Sfej\n+tFwz8iGa52/TEnifKPCNGo2wBemVHfTe8uE3oHwaDr6EnsWYaR10idwYilU\nOTMO54BDo/j07PavYdgsYgzzWxpc36XQbp3Ab4r4buzjez/QsNhuYjIMoCHc\nbVl8bPvSKj+suYyUhGjiZeznakdlVN6DmQimJ2sdieS6WLvvF0cOIIs3ZuJk\neIW1axpRjKdDIXXhXjfwaSPZ7CorTr3Zj/xzCwVwQKpE/mY2vRhYtMvWe20G\nq6vY\r\n=xxZi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4TO6czZPlBJ0+9SfN6UH1jo1icMur78F9EwyNqWF7FAiA0Bigqd31dJaJou8xGMSmvfVpE+npQlIkfNe8U65y58g=="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.3-canary.3_1608370233601_0.3534113210759895"},"_hasShrinkwrap":false},"0.0.3-canary.4":{"name":"@acot/acot-preset-wcag","version":"0.0.3-canary.4","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.3-canary.4","@acot/core":"0.0.3-canary.2","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"1f19ae0f71d4f8d9a354b39f3ec8da364c771339","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable elemenet has a focus indicator.                                  | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.3-canary.4","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-RBDOwk1BXEsQMJQ9XeW8RN5i8z8OHqPtt+4URQSI1JJNK5ZRUR0pnYiTaty31tDOwCs092rYQsy195hYUiaXqA==","shasum":"a5e169bfe86f56c279a8f19d42337e26c321e465","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.3-canary.4.tgz","fileCount":28,"unpackedSize":28067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf32JNCRA9TVsSAnZWagAAqb0P/1QXMmBBoTF0dP66twBl\nVul9dH3/TWUaPIe9xku6s3RYgkO+aSTLoL6PWO+buTKs8wX3Oj1hlDKkgmKg\nPSv/ycb1tDfIg1d/K/wezQHHmL8NmtJPG3Xbj/CP53gDTzUB7llo29H7UVeo\nfbf4AnOyvzasM21Q326/RhVdr++DERPdO2rtZrOHDIIJUBVYYZ1BfGAIod9D\nLsrNtgRshm0TxvxCWihsc7jMQqTnJJil+ha/JX8l3VIYrlN2QWxDRd3bGRYn\nbdZZK+OM6F/RRzJGjRmgZvIa8FmzAltKiKy2AjsPv/cYkwpgpEE9ioYREm5F\nwqDvXZdgMxvvq4zbyrVNGpxgpAqpKeJ/1ATXYjNaHc3TEAYuCdSei8TFKSWx\nWoV2RGxmZWMr7zBcMjsv8XI3TlP9DgLLBPbCdSBmqefx9+KPmw5ZcPQOJnn/\nCgcV1JencnetscerbicsP6Jh9UFcg8/+cGS/UZIysXxAopudS4rtC09ak4NO\nvDUunYJA0Q0gUKE0fQgGaRP4iR4CNBEIwcLgnW7p/ajgDA9GqnC327MULnkO\nvjG0zQu8S3YbAmkvuaCE5AQz5kqXf0lLssVWH6Dg3g+BZcN//1T01Q7YbJkt\nZqz/qei+wI/KoNzY44vRG8uc7MkogrTzRutNgp3L2HCrK1uSJwHH9wb+sYHm\nt77Q\r\n=DDrr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOlNh/xs8anMYQwbVish2N091wmuJdS1H52Vr93UK/gAIhALcjxemQcBVi7CChgNFNpQjqfqZziH3Iu18JvcPcZS9S"}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.3-canary.4_1608475212770_0.9855456631103705"},"_hasShrinkwrap":false},"0.0.3":{"name":"@acot/acot-preset-wcag","version":"0.0.3","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/master/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.3","@acot/core":"0.0.3","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"bfc184385ad43fa7ff3fd3e52709fcb25e66587d","_id":"@acot/acot-preset-wcag@0.0.3","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-kD/KgQg2eLTyeubQ9YUxtVQCBYQur8Q8Kg5y9kUK9z2OyOyyhL975ksEid21Cc/0rB/FZv3oQz/wZDVecxdZEQ==","shasum":"2982a80372923f36fddb8199fa79fa2e933d451e","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.3.tgz","fileCount":28,"unpackedSize":28241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4fSHCRA9TVsSAnZWagAA9MUP/R3hmVE8xOgvlIQQ3zHm\n6oYT/ggXZ1Nyc9SKVihQ63fvgWJ25kyEYG2cuwixkb0a1Azf8CGGWZQARNE1\ny42tz67W6vjXahO7zL+BgLZfFlj99LWgYNBA19lMBKS1bfNseAmdZ6j6dT4H\nciddJoPsyGm2DkqYSETdAs6qnvfX6Is6T30c1+VbLqhu5doZAJKNdAVmCEru\nAapI4sUswWvattPk0iYzbu3ibcUo8xli4Dh2bqKADY4cF112JQqxu54L5jMw\n8q9xRPaN5jZ2TPVAOy4v69MA2rvz8EIDgcMmeGmD8TE5usEV35s+krrfAhge\n7islwCy4xU5YcrFigk3hBJvqglfbqUHgqZKzr/hTw1CH/JdCjM2s0qg25uJa\nWsM5ESXKxMkdduBWITZiDcVlJTdJkVoCJf1wAPAO0RppS3qW/QiUAY4kF0Xd\nMbSNcmsgdFsuOYOSjE8n5TFuQi8tNyFdp1wmCHepCo50awlUCSZR+wNqun+P\n5lgipXkXLfrV3FrVyiCvBVMdRquBSbsP7V04LWeU9+xMVQhs3sPEwnY/0W/S\nhZMNqLbUbmXr1MyycFODGAxfLLOcBdDXTUs+fooZXu6OMiQIv4de8l7w00Gs\nnksL4Wz9aT6UACDQwypPC0IiNkulDuCxohwTlzdYAUXQOS3Jm8tW0eeI0LCy\nCycf\r\n=WOZL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvGTOY5Fvnk8I8m+eeS4tRdhP30jPoII9oo5rnTpk9HAiB5TnH7/Ui5KWIBXcgqganHLx8sN/iegHJ3GX92/KkoQw=="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.3_1608643718934_0.6111183337189996"},"_hasShrinkwrap":false},"0.0.4-canary.0":{"name":"@acot/acot-preset-wcag","version":"0.0.4-canary.0","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.4-canary.0","@acot/core":"0.0.4-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"d04b64541cb3226356998ee7cba234ffc48fa874","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.4-canary.0","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-R3pTuMTvUosMXQPZfPkUGrwOpkY8l/ffOO5B85JCaLutWQAExZan7Kku2RXTEoJ+1YBbZ2r4w9IW3m7tJalffw==","shasum":"e12e4de6eb36230bb5deb43139569cdac8dd7037","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.4-canary.0.tgz","fileCount":30,"unpackedSize":38660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6p7ICRA9TVsSAnZWagAAx64P/RNwrrKIFiAgqajCK9GA\nKoyfeX+caVtR8AIv9tK0/8RqhvxLnFM4tpX+6JjHrHoDy9YSf1nkWJSR649W\nP9M0ks59JJAheavriAxdJCoZEO/0bahvqE79j7DnGWoy3NRLXWGrH6a3cglC\nrFgYaG3f4ydbK66mZEG7nQ/9e+2p0zTG2U3+L0FMhDSROlpUqbjRWOHmvh01\nn44m9BAWL782B6owr2+LrFoDM1b5+eNqdcNSNF8tLIoy8SOFsKbTOUeYc2th\nN6Hd4GojL/kx6Adod0N9IvYHt3CrwXSMGQdxw2VEaV/4ns1RDBXbME3tJsxF\nsNIS2fkPxETPtYd+Pp+fCCorANcRYB/gv70gj1C7Cykaumw5+8ALI2B4a1VT\n/VsEMeO3fPt8F5BPYRXrcKeGDJmR8N5QGo2aGAgT2THZtxnckDNLQ9ci7uqu\ni08hH/7pWbnuOuPNkgTUXvNGj5vuxmPwGGZrLMG0VHNWpbAwU1lNW68Hivg4\nN5raFY4w6LNsAN/URGudmAzhnGgCuOr1kGLKh7ajJwWRsPoqHM5BU0j2HPLr\n0mHkMqezB7Dq6mPNeuwzgYlS1lxnbwcWtboXhWO7PlLf3pG1crW62vulnTHe\nHxa4o1CvlNiTBD3oPanY4/aIjgQ3Qe4tNYCZ3o39YAdrjSSsWJeY7zgYwyBA\nHSsV\r\n=IFPS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6KzBVJvn9EQ0lJ+CBtKy0JzDmriNG8LsXBeSxde3bhAiEA56QuP8R99UTYoP29OQuSmMXgHAb2dvUrdlnFDPw/K2s="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.4-canary.0_1609211592036_0.18077966595701422"},"_hasShrinkwrap":false},"0.0.4-canary.1":{"name":"@acot/acot-preset-wcag","version":"0.0.4-canary.1","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.4-canary.1","@acot/core":"0.0.4-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"a4aa1e8aa4c12700180837b850dda36f2577c0b7","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.4-canary.1","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-c97Pf9YCg5rYpi9EGBwngY6igt+GHUVDTxyw6M7aqbS4W+CIZvEKYoI1w1HI5ceSMaBWdZ3hPDrS57tkj4cyWw==","shasum":"48ea65f94ecfd658a8074ea334b0a6e0cab1dfae","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.4-canary.1.tgz","fileCount":30,"unpackedSize":38879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6qrTCRA9TVsSAnZWagAA9CkP+QDqDreNCOThMT0RYimI\nF6qIdcDrKeGA9pT3ryBvDQNad5srXfGtckMvxKSB6hjrp273g9nuiN9+cC/O\nQQEfglCZFUqEvxoJ7K8SirKVABSzB+vzeCAP+CVN9y1dDMgL/6HX6HahdxJT\n0t2KT0rfqrzpdWxERWOCTebs9+k1niHnoifGZOoP+ayMYMKroB7D460FrLhm\nyRUYXLfgFEHNciGvkHtZ+MQmfo9MLbdmAo+f3SNXmALlxk1oZiOBPtqfOyzo\n3UtvTltC4QEkjb1opaTAxF8cLyY984+VWCp81rGulqKzf027h6mI0Us1b1Qw\nvZsoMzM1+q0UzkKgLqC9cRPXhX7T4cXxit1yUSlg52y5E5/Th6NSvdOvItC4\nX0FTmYSLTBHZ10Kf1fzmQ7f+68LVoK0+g/m/socSqMlltrui49GQVAm3b6/A\nHKl18xWweAlQz/ptLp/UscuiyiPSaNL8WeT7Ohu1Q9UT5Sz4u7IWDBrfBscG\nYA0rGDpSgJOkjX0R1A2LEfLY1shc6hD/b26baw0FwTf5sxUkk4KH/fraZrY9\nRXePmxZ4eWhrMy1D+q9AAiE9bUXL4TXumveqWKmNCtx6/7Kzgtc1Ka+94IHC\ncs8Mz5euajIFVmJWNpsVGtj1AeE3kmR8JkKkT4LyNJ/PdmHyjyfpgazwbD/C\neX+N\r\n=YJfz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYV07pj5GC0pRCrwJcNGyRcxmijLG1n3s6zEtBr3CWuAIgdrlfZN87sq8NpludGH4DRXT17dNXqdfwXxsq4NCkYU4="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.4-canary.1_1609214675192_0.5962096527765068"},"_hasShrinkwrap":false},"0.0.4-canary.2":{"name":"@acot/acot-preset-wcag","version":"0.0.4-canary.2","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.4-canary.2","@acot/core":"0.0.4-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"c41598b0b147a81b20f1060f4e180620287985b7","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.4-canary.2","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-tN2PpZrq39oHtYBczWWXT5jQyfYNj6jdeJ29qNSliIKBwQZoDGQj5bnA9tITIpLSQptZM21XNyNSBEMN7Bu2Uw==","shasum":"0ef84463e20649130694d825545471f76d27b5e1","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.4-canary.2.tgz","fileCount":30,"unpackedSize":39098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6q6eCRA9TVsSAnZWagAA4rMP/Az7x81sTIC96HrfHdog\nLQIgSRSiiwogrse04/yRV2OvVWCYhSF8EeDhdd6nS+86k327W0UYEdUHnynS\nR1Cl9Sq54ZD9Smf6qf41IBuV36k6UmSMT3KAke95cWf/nsbckHkFtUrAxTlr\nxX9O/lN2LegB6YzBwnDcL+xpklVspQA1AYec6Ti433Vseeii0dXH1EfLIJug\nTKrj+ETnysXXRruV75DYbI/YvI7uTM5kXmX4+Eh5GzieRMazTn5phFNCrpO8\nnm8LSwNoJtG7Q27pFEKVDMJHOdL9fglv5mlh0rvjEAL/jGUk+s5DmKLvegCf\nkdvWCBShMiaWuIr5xHbBbNrwPW+9mSuX+TZo8oDuXBWNoqurD4mYNA7soqpc\nY3f3NU+LZkqWmBf+FcnvMh3+PQJw0g7HxhU0F87mdcZ2j/Pj6iFI8nr8qEQY\nWBYEpH3Z1FVSlsh6BMgXDmCrrN0XHcCMnUUMayhUwhVWA8e2nKNQHJP0XIrh\nnzqcxp5rs/Iqgyqeo50GUcC/Ea10qqqmovdYnmehPQp7CU3inlqRBqEWaLPl\nk9dzzaA5bhANX2k7tApqN05ug4ZqGT9R1KQLMqxyhWzEHSkESrVwqc2JkeuL\nupGvP8pNqMaUxnbSQzUSWVO8EPorqemwmCln8DdlmFAOZwupbcaPVEmUEdbq\nlG0q\r\n=zVSD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICxEcH8lkKA2pzZ06JbIWBTxeZqImlJBMs7PDbHZSVENAiA/L6NCJurwHZOY49zWbJNAV+4MMcSrf3g1aEc7+zN3IA=="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.4-canary.2_1609215646003_0.9334786539236344"},"_hasShrinkwrap":false},"0.0.4":{"name":"@acot/acot-preset-wcag","version":"0.0.4","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.4","@acot/core":"0.0.4","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"0531a93558a269870a369dcd9cdd450e3812f1a2","_id":"@acot/acot-preset-wcag@0.0.4","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-4oRW3MZEpP80wclU1VmFjHqigw/0T+PgaBRu4cCFlv1IX7Q8M/5l9RYoqrN0hDtdwKQeGm8+EM7GrwkeSCrZiA==","shasum":"3ace9981754d2265e9a1e3ce3e0c8c2745ab24b8","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.4.tgz","fileCount":30,"unpackedSize":39362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6rfeCRA9TVsSAnZWagAA3hYP/1jCORus0h5X7CPCjcMb\nE1iDyBaDGZwrREumMcdAktqjHh2sn5ARyUVLe2oB0vTkKi/cuKXLge5Ivrnb\nuphQs3gkjBwSGMnagAzME47ZsDTX/05ngjQIctVNAVRzNaMncx5H+NtPOg/M\nU7Yhkz5VPLIC3eKSIUgIJ/ddrNanqPTp3Y7fHWK1qBIkukM3tUhi/CSMiAsx\nj1Zfy7wfawe2WuHyUUpw/pvb/8Onaz0HveKboUk9bwiupek0La4wtpGVggdV\n/qCZkPnmygYVQPDiSnRum1h1oCOfo2KeEQi0uj0YtdJH+plyUPFJipiOynHb\naLNeunuow0IEjYC8apImvP6QPibGNiJCN10jrcSf2ppAy+IXToIs8mFHrV6R\nAk1QRfRUlHcsc/+ufBmRrcaqfHIBGbQE/4MXnFMcTpoPEYQ/jV8VfY/LfgBb\nuP6YiOLiU8URnBtQFMeY1d6uP6dLQoBgkEdr0k3iFAhCcLqw9a3B0JyxaUaN\nnTdD/9mV+VLHSOoDcYE5FT1BugGOoHjXlAfIDeCUjbYqBOWqD5YZZMv3irlE\nocso6wpQ2xc4H1y6O06aj2QTalaUAxsxXZ07kY/3y1/eB3irjTOl6Qrp0xtP\neABTY3h/sptp5d7364OiyG9km6s17ShCXndNB6/wFlo1c0yg/U7dbfvUadpt\nmHV8\r\n=pTot\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAB0wPe9OX41/xr+OqHIMBCZKH+twCRkuN6lcieN2cyAIhALHI1ybjKthUnaPskUGhdRPa8D4FPeNMWvnJ8lUbkA28"}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.4_1609218014333_0.14664823541904948"},"_hasShrinkwrap":false},"0.0.6-canary.0":{"name":"@acot/acot-preset-wcag","version":"0.0.6-canary.0","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.6-canary.0","@acot/core":"0.0.5","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"9e986f72955e83d9aa0030d9e22e003d2fd4167a","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.6-canary.0","_nodeVersion":"14.15.1","_npmVersion":"lerna/3.22.1/node@v14.15.1+x64 (darwin)","dist":{"integrity":"sha512-e1CefZYpgkfnfwSwN+iolVC36WocvlHF7Da4uscTGivTKTMe7XQL0kynl932SXMRyUcGSK2cJbEheKI736r5Qg==","shasum":"767bb3af3e4d9817422bb078962ef3d16bbb45ed","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.6-canary.0.tgz","fileCount":30,"unpackedSize":40516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf8smxCRA9TVsSAnZWagAAFDsQAIdTU0TNVqN8aDHSWJNi\nQqmvCFevmbvPdA+vQXSR8vK+T0lAC8IR1VapVokegD5xiWG5VkFXIsynD4zk\npaX5ifdzBpcJ6mP5tEbbgdxO0qGbIJCgPIHmRdMVmYQa6wiJSin27Y0RWDDf\nQxT0Zo3g5d6ROl6Dh1xAooyljgHi+5Cp6muFBP0vWd0KDSF/3EOv/WFsoO6I\n5MWF+j0hoCWi7r9EsuOOzGMWeiL2iq2zAcEe7WNn3l423cfnvkqa+boX+4+2\n4+3ySL4jY7kh17y1y9ENsr/kJFjcTItn73wGdUe0zvwm3BxpOdwqab9TXe0E\n7vJy2/tGvWa5lYTLp/xIf8RMC5GN4VNItHPydcFdxB7TDfvcIut3r5Kd1lhN\nLSKxAk213Vf3PrgFcLDButiHv7Ihh+j2fk48AJdqJ/RyFJYTwwCwlY/Logcj\nGQGmmBhMyO11A8a3xLEq0oF5pV0BMUe3wta5vAjXCuUNdYnjx/7qslyeOjR9\nwEwYeMcg/jJGwSg5nMb+K8q72yaBy0iwYWKIi9wGMXB6rqErOCfMN4XbVjB4\nQs3VYlCBvnQNTzwQX4VPqG6rJ6daZvGHPsPBkydDggmGE1GFJCmhJtm9pIa/\nthwHAqR3WOOAtnnuiyvh4fl+TqqtEMj0yWoew/4us7RPOe96V3uGG1nFtwb0\nyxBq\r\n=VlSO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICBfWMA8RJKss8k9jCGpCyUA7ZTWriTTUTOSMiHbInl8AiEA4kYs31FHkhmyhPpn6K4JDbxeUYwsPoDaXohvuzVLorA="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.6-canary.0_1609746864835_0.436244216677945"},"_hasShrinkwrap":false},"0.0.7-canary.0":{"name":"@acot/acot-preset-wcag","version":"0.0.7-canary.0","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.7-canary.0","@acot/core":"0.0.6-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"6d84794446890402dfbb488d600002daaa7ccc2d","readme":"# @acot/acot-preset-wcag\n\n> A WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n\n---\n\n_T.B.A_\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.7-canary.0","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-NDUO976KvH/45pk4aW7fyLpDgla9rEatKLvNN9Qql8iKK5fQJ25qiujvP7WymZdr/uMwBAzoFgB9vOb3KEUc0w==","shasum":"3fd8755449e7913f7d8c8ae3de4c48e6177898b8","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.7-canary.0.tgz","fileCount":30,"unpackedSize":40936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/ylpCRA9TVsSAnZWagAA1VQP/j527CAJIpFVpZRO4sbb\nZIVFE1Wj3qi+wci8+H3dhOoxfRWqKHFr8EWRhy9PugxvTh/HGafaqb5NMIES\noh/68bFhqh/Sa1BrOaJZEkTeg6pp5+rf+C8YSvLGXnQIOYmfDfgpoSGi8P8B\npM7fJeB0cxZqQcxW/LlhBpPD5ZBIqc5M/50WBtDKgmupTk1F0Kgj9MW4o7Pm\nPLTZn7HHHRocVBA6k0LERCQF0OAIYFigEzIDzz2MHr2SgIWuuo7tD8kKkXv5\nWK3aM82gXCMtH+2JjQO8N+8Agu3I263iJZ8LjnpLpOGPI5IsN6Q75NkSbb/N\nh5/jqcmj1YYNqAnU2v/eYh5Cnm/vGX3iFoS75Kci2sIE0acveKG8EvZiFe+u\nUng0lgkue0HDRcdHxB/envox+0j4GT89m75ENrnqsGtptP21nALjX0sXECX0\nANMQEGLu1A4FXvO7xkm59TdV7U75C/COsyZvUgldA2Xcj9J0stoA0/RZ4pNr\nJRtGVVzg4kqe0BXloVHsAsKy1YJAll23xu0igaE/dmoPWg7ZPHOXZBlF0JNi\nB9QTeJZAZMRE9YGGI3VZARyPM+/nnPI6HKj7tfPhT2rUb9tDAmYPMgi40L8R\nwLaOMO94vxWMZ+II7QTs1iNYFqSHqMdYrnW0DpAt7TtVFheqW1hzeSaeIj+v\n6fEh\r\n=m0MT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEAfUfD7zWUkTTppMWEiyj62ec9JfGgGspmd6lsFWb70AiEAoe1IPIn9y+9wVjdlaOwllLwhHQuZhSXGqGdMncVtNNE="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.7-canary.0_1610557801206_0.9360677360736824"},"_hasShrinkwrap":false},"0.0.7":{"name":"@acot/acot-preset-wcag","version":"0.0.7","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.7","@acot/core":"0.0.6","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"ad95beecb4857920ecbe459583f7de9fda8e06a8","_id":"@acot/acot-preset-wcag@0.0.7","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-+Z9fpNEYQEEEJucekdLF6ewbcYS9pUxE0fXNzmRZImwCqc/F0hOQLMl30LNHh/MuPqoCBGO+B0v/E6Q8QLPEVA==","shasum":"6f56a61126994de94e990ee7552214f1685a070a","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.7.tgz","fileCount":30,"unpackedSize":41110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/yviCRA9TVsSAnZWagAA2AsQAJIWYeCruEVZXiH1oIpA\nanK6kGb3s7J7lLm92Hy/d/HMGnl8Uo/01XGf5TlBP++mTAE4ZROynz9KWVbE\nvIktQMRVge5XR5I7cV9T3npG8AbwByqqLSaQE6g3swE712s9P2C7N1du1Ngk\n+mkni95sBJ58Ot4A5LoehtzmqWERpcbxhHxc1PvP5jaThSa0+7XGhV4SUj3c\nZRlnMpwr7bve42aAU5EZOu7S8etTO1PwNTzNHLGVcdFLJuhf5l3z6N4iFIup\n3QtbWOmKYjwGYZgSrxPp6C12oeHXKKUvF5s8MnZxAAFadct/Mc7rLlEIbGWv\n7bEwdiLhwPc6J32bTPeVJsmDXWFi+ssZrQUemRUgVSiTqduhQelQtpsYlKWi\nUfuHH6CnjoK5mNNvhHzkU36rkoiT55RdVShTkxk30F4tKIiaKONaNbLoRvjT\n/9FHoLI7BX1oPz8x5NSIS2HYtQzoVsaZoru6B+TALZ4yzMkdMsld7lWRtaUi\nztjyO0mlUR9gbWhkpKdq3dGKmJ0/3Nob+H071KeRMYZR8XLpaq6y85o5S6PK\noBx0xKmGQpw6qZSKo4qDMnvOMtc5ZHeZweMnwmKgCf66Y+HmoF5OFs+71Dd4\nITHp0Fkv4ckerUfsM9ADK3rNG183JnYRl8zcljMsvMH1RPBl+rMMR5Bk9Tny\njhv+\r\n=h4R+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbMgozTybMzk8GXDcsxIzlgC4DEyaUFLYF/H80nnw3QAiEAnAhs9NPfz0r9JHZxy4T0DHeQWiu0un8wyaLpfNXGvEM="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.7_1610558434140_0.7795437295377725"},"_hasShrinkwrap":false},"0.0.8":{"name":"@acot/acot-preset-wcag","version":"0.0.8","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.8","@acot/core":"0.0.7","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"7f0dfd84a37829f382b154dc1d67d5aa7043837c","_id":"@acot/acot-preset-wcag@0.0.8","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.22.1/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-9SEWB8xaJ1L68az5Zwx8ZWbV/hOiUnHqt8eEew0n3b5j/V9KbziZbgXOBXkBMVeJw7GkwZzHLhdUXwnCtu1BmA==","shasum":"ea8edf8b6ba6c8e95e8ee95e215e030b7835373b","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.8.tgz","fileCount":30,"unpackedSize":41661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFQGkCRA9TVsSAnZWagAAoKsP/AnAb7GffZxtnFqoVujz\nYdUlm1AZvaBUNcLABbWzyfgCFMY+XmZJyqFbgpIAaPcWWCHojuzmg82NVWTO\neM52cqN8L1MzziSSa7ZhRhIZVLSW7veGzHin004/4pAGsJvderrOTc9hxZG3\nGzphlnaAzD7s/gZwGxIZ88fTp8imTA2Kp5iEnpyotstas54tiktjjLsARrty\n9unJ+NVAH5CqqN1CDDL7SRUX7u4QUsdF6D5pEquo37Q4EgqJwYDklFi2zWb1\nk2dcLE/42WIEYSIKquyrxzxzBpIgiWSfNL9IQGUlk5kVdTKrFYnq7THxftkz\nafNh6PtJkfCQVEnzwPkL8OsgD4wnd8R48vJL2x4WOjsuW/rM3Agwe6k3xCbP\npu5Gs09PyKdR1SbO3g/Y7lpTxqwuyOnx82fYup4b6Skzf6NyRuI556wCifYh\nZ3gfR8RjJo7ikuU+WZrZ70Dr8EWpb/bnhtGAQtJJtH4EeuiN0WwYlHsBGOG6\nK6+ITGEt03h0pSwpkYVO7G/A1CtZRUmBlj+ITkocNCuI0konH/lGl4gecWvu\nomWlToUW0f2EQ7cCSq6PRUcCRFwIBCXPXKt7GXPIsgaS/lhimR4hjnNSyVj0\nOlpTJxWWJrSHU/XG79PcPw8qPta5OLXOGx6VAIr1ocWKn92kJtfTvxJc3Luw\nUL2o\r\n=7ln6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC11NO21BdbyKCPEDZRSAGYXzErsQRtCP2fniVpGBiffAIgPMYSSdx0V0rJjDJ805Xew0AxVJ6I6DT49XPHMXKsdMM="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.8_1611989411779_0.9924839941710368"},"_hasShrinkwrap":false},"0.0.9-canary.0":{"name":"@acot/acot-preset-wcag","version":"0.0.9-canary.0","description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.9-canary.0","@acot/core":"0.0.8-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"019a4b37fc93b03f495bd62eddd4002f6403948d","readme":"# @acot/acot-preset-wcag\n\nA WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.9-canary.0","_nodeVersion":"12.21.0","_npmVersion":"lerna/4.0.0/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-Sr5nL2W3D2srNLogZ4fNZncwe2lohqMq06xI17xA5jRk0fLpQs6H1US6ESJskRRL7neeUOxjgGoxW7Da2vUdxw==","shasum":"d5b306e85949ff014a844f9b8e319c46c30b41a9","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.9-canary.0.tgz","fileCount":30,"unpackedSize":41855,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgY0mACRA9TVsSAnZWagAATBoP/iYia7OZMDz84kiEtavn\numbajH9BK6NNMIgBNr0021S0qeKYFYG03C4hUoH8PrLdu4P0YEA71NO/+GEy\nYzP2CFPQ7g+ly3VlAZ+K0zHB0FcLUqq9U4c7LW2z12SA1jcfAylIVbwEf3Z/\n899TKSR/akeKZAbuI4GiH83C8fha4CVAsruW6WEL1fP5BvwDNXe3aV81K/E5\nEvsR66PCRSx5CMPQcCTWb56cCfBrnZAEdl6SDONOMxK7n1OPfAbGDoCFvIyK\nEYIVjsoko7w5fhVDqjlElDviSA0SO/leL7qrvsSK0NNA4xupHCfZGppn9F2C\nuOHd1rt3pcSvo5puT9AbDH9yhOfPcqif9+s/ZxcNRo1zE9R927OaGAufgAmp\nR+OMJJby4pcw9PJ9Wn1d3s0URNmFFDDa6GhC7DpLOSiHxHvbyl1TFe9yj37q\nat2MsC3IiXp/5bQCo0uZihKK+3pqY2pHjXaXiIKMZQK0XiwYvNHcEN+7N4Ie\nbWlIsQffB6NSz5FARPoRosCHBSGe81krpd17xj05hzsJkCAxo/FZvOdstYD2\nc+mjCy8+wz7sDoxZnOcITE379E14YZoFAI6MhyjHN4wKK4C6xjNta7XjZmMp\nao2UaTJE07gIDxF0vsE7WtyGSINoxzRTIPhAYgZuWyvxzRiaRLkCwGfBRWdo\njaav\r\n=eBqj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7atynTgAl4LA6AxnfCRWvvcGZR6FWy2Q/Uud6HrWFVAiACZPeMoh09E2oBXF1drKN78GTNJW3DAAv3wSR5VprG4Q=="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.9-canary.0_1617119616308_0.04330589311129707"},"_hasShrinkwrap":false},"0.0.10-canary.0":{"name":"@acot/acot-preset-wcag","version":"0.0.10-canary.0","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.10-canary.0","@acot/core":"0.0.10-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"0e2e86c945110f44e402805b94921fd3712605d2","readme":"# @acot/acot-preset-wcag\n\nA WCAG-based rule set for acot.\n\n## Install\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.10-canary.0","_nodeVersion":"12.21.0","_npmVersion":"lerna/4.0.0/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-nszx4F3UZFgD5d6gm8qaGvTd3rJ70s3I2ZuozaTlV/qi45I6jnqzRPv5xMT8GD1WB1yxAA2uBd97wO0t2sB+Lw==","shasum":"466b7804258f0ec8399ee3b78413c0c325ec6a4e","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.10-canary.0.tgz","fileCount":30,"unpackedSize":43972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaVqsCRA9TVsSAnZWagAAvjwP/28UO7cjIxreDyf20Qkk\nxkvR05u2utHUHj6VT4/xAlx1Ff5zueS7Ua7TOHGx2oF2Ghj9KpeCR/j9c9Tn\nB2c9p/QyKBHdgU049sORx/Whhmr0jrYb/3AsK2f/BcPlG4UhzTQoK0yDWhla\n3McfqF1Kk65dKHtLraIRnSkw6yp77Vi9MjNPsp/GgidTNQZzc8qSfRCPEJON\nOF7mvOyNOLIFeZSWOKYt/49myNAYeBlrFT76HMuKRT+ZoZOE38ej999cnQuT\nijFgpNScsc9BjnL7M+EgOxlbPBboz73cStSj7U7ytlFHmGvraf1G4EuX28pE\nrYzhIa8GSU14BpQCH5wlIpP2PblGE9TSjpdsfqE078cMO81BdpqB5fU1iBRj\n4n8YuyCV1WwkL8XYRzVFJex408wGaEH/8id6N9ynZfa0oALpkGaa1GXlTndb\nKQKj0SbJy/htYssGONT02xRmhqw1E7PzjzZ/nBV8ecaXaegzkMmb1EWae4Ym\n7dsJ6w25QsSF01a0JY9dCvoVB65ZO3KuOpzI0j1DssOe7QxhJRJnA8SgCb94\n8U2ts+y474SWOBjWuXax/3QYtbh6gAgf9nnD8WKtqCjzneJTR4xgL/iioUVF\nXsfbo+4Tdd7HkLyaX971+gRamVeqvuMkwkLaF0zYnSKcVV00VdJjzPfYdQ0N\nNG6E\r\n=sPoY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtFssExuO88txem1QqDdiRLE1fsilSIOslLP8ZrX08UAIhAJos/CONerdEiMFyerYT2kP1sWEAJQC4qiFm2UdgKbpX"}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.10-canary.0_1617517228226_0.6741914212039606"},"_hasShrinkwrap":false},"0.0.10":{"name":"@acot/acot-preset-wcag","version":"0.0.10","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.10","@acot/core":"0.0.10","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"0defca3c6f339069c707eb8ba2fc84f058be7111","_id":"@acot/acot-preset-wcag@0.0.10","_nodeVersion":"12.22.0","_npmVersion":"lerna/4.0.0/node@v12.22.0+x64 (linux)","dist":{"integrity":"sha512-D3PXv6OGX1k3mrjK5IE3r0SURlc5NV6ie/ebBudviL1RqawGVEg+uLCDKfr0hWyGh/iDV15QpL1K5nxAfizFhQ==","shasum":"298afc2967017ccaf0e15b9739358ffe4f39e700","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.10.tgz","fileCount":30,"unpackedSize":44105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcx0iCRA9TVsSAnZWagAAmckP/1mZh6vS5a9+hqyXPaX1\nqU+VWQ09XNt3Q4g3bGyljdsgoDSrArlYXq9XfF+RNc2csCDaVmPqfHM8wghA\nrBl0FDV6c1LsAJqOiauJxT23QZXYRdtdUCPASzOhDbICvLgR2IEBFS5V5s12\nL4g8W0TOs82dSu7cSvxKoC0wCMcOYgnuLTZV6bDLCur+tNftuiLpU87g09CM\nQQlV/PU0LyEn7Vs4/VXQoBW8jkutwBjkl7LXBgNCCavFkulp3/WR2VsguuP+\n4NM78m1OEULRWaByVG2B7sOUeRUrv2taDLTBW0VE/jbvb3crxknPpnE5OwqR\nD8QymnatOC55LzbRvMAlgDdSwAX88MAdCFpft040iHmTMEXPBN3NhHF0myyW\nWMKdEDpwNOz2krbka6FDXabG7VrKh8mlM4dWuPCgRb3yhn4GdvLrlO1TTM43\npTGTzZ/M0vypwmXpDE7uuBe49sFrHa6YACpYjBRhjv1A4qPiY+OpIQIp15wS\nv/NDBrDGaqVpwFBMWubm9J6GmfeVEgFJ2KkuhpvOf/OFQA+Z310sB/0TzZmw\ndT5f7Eb+VtJAbD598QB/YU6ExGhJ0Don6ED/IgaDNQtOMQKXkLvwZX4c5/ec\nDJhepoiseGvQnWbnmY9fip46Rq9yaSSjnWWXc6huiWtJ2aSA6GJJYLzLJPE+\n/4rx\r\n=NDZl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBavI5RlQwvKdIXaifPQOESo6F3kYi5xd5G89IMNfIEjAiAtHQz8uKiJcDicrLb5NecvTmHLih2eikBllTi2DOic8Q=="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.10_1618156834356_0.5224704785392824"},"_hasShrinkwrap":false},"0.0.11":{"name":"@acot/acot-preset-wcag","version":"0.0.11","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.11","@acot/core":"0.0.11","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"f837929ac56505e646f51c1cdbdd7dd7b80a84dc","_id":"@acot/acot-preset-wcag@0.0.11","_nodeVersion":"12.22.0","_npmVersion":"lerna/4.0.0/node@v12.22.0+x64 (linux)","dist":{"integrity":"sha512-/HeU1T5tdq3534UKFdAVLt4xUz0pFgH6bkwxJ3+BOQjKSU4Lllwl7M4dOhHbzYqgIV0UC5GLQwqUd71WYACuGQ==","shasum":"eede51b08d1ca2245e2b0aaabb1c4763a8d05126","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.11.tgz","fileCount":30,"unpackedSize":44267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdHZzCRA9TVsSAnZWagAAZFgP/ip1h0Uw8yodQF79j5ow\n6ZC02q6f5wIH5u62TyVlO4gZxOXtIiAfU9IBtFFZlnRR2iAqE9RTiOtwTuQf\nDms6HqLlP6pwurbJL2KhegdJEsMbsKHPO6tbjLSWcqiWZrGkqK+wNiWiaJH9\nNYxQRKR/PIb9nu6/vr0apo4g27lt8o9ZJscJxPjCU6++k4pgf3eP+JJHoU/b\ncLIuVkxIQUAKbntqjlQ+X9CUqybS+3qtKQ56GdclSNz6JWurfVEsayvN5DSp\n2GMngnNYxHUA81390+salgw5cM3P9dG7GyqoH6ozS4/ItdWhNN4rSPJwiSJw\nmqwl/Bp5iJWrPlksMTLTb/s9efUW072bcCqotzZWuLD9qlQTz0h930WyfS0a\nqVNSSPFW081+/kOi0cFK10btHOKB788AiYz7Ofa3dowXpQqkKXpDm0+f/dtq\nk7dUuNyWRLpIvtHWcs6ZC/HI8Bhsniu+l2iDHitm3B5m3gnU3z0Xd4n/ycAr\nFroGI+FcqI62uDUw7Tail2iHupu4kKYXaCwZl2r3PDkCPT+n2WsHCss+Kg1s\nuO1uReZeU21V8KguwmbugRby1tb+mKjPvYkzH5IyCe3g+u/oWNgWxw7eA5gi\naaYTmUnodJvLHVNLuhkdksGG3O285UtSHmogyPcw7oM+EfmteYKSIOGPABgS\ninb5\r\n=6NqT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9kv+Bq4ae98YlMJ8kLa6wKOUMLaOuEdf2AZw6f3drZAiEA1Snk3yFmGt37fsFFSM9kOq+QuszAjIHja4jYDY78ZuA="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.11_1618245235304_0.21951864481664551"},"_hasShrinkwrap":false},"0.0.12":{"name":"@acot/acot-preset-wcag","version":"0.0.12","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.12","@acot/core":"0.0.12","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"eedbde034ad1495dd489be01ae11404365ecfce6","_id":"@acot/acot-preset-wcag@0.0.12","_nodeVersion":"12.22.1","_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-U18MSpQTzz4n8HwC1PV1zsp6U3Qlm38dDStvmmzAjUEQcjpvVA3l+O3qaCUOHu9JoPg/WnvButiEtUpdk8Ykhg==","shasum":"a2bb431eab46397df5c04cf2b8c2eb80d76b0a0a","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.12.tgz","fileCount":30,"unpackedSize":44418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJge/f6CRA9TVsSAnZWagAABSQQAI9fHfx7NMskpAb4vugq\nq+17NopNN4oBc6MoWYOU41l4nqlxipNG9FaBNc6wLK/5XTRDDGDoIDZs7K2Z\nb47r5pJjirneJxIidkp2Hy7NZGeg/hUzJXuTmlnIawLhyB8zgSzic25CT2mY\nJsSlayCD8cEJQsVJIu3LSDyy9K5z1tXHpvlFHYfWBXfYb2hEMFy+MGYdm7ra\nZcgAPIrPG2501wKHETdwdTcaide8PTTNsXYA8Tr2iljvJ8rI6YTrqIhaehqd\njD5LCZ3luA5ZSsO0q43s/q9qY4Fpni0llGOklnNmd1ZAvQR0ARY/C8wi8e7z\n71gxRT/qY0m6FxEKDibBHbw1Z+8Cnk2E2h0Cs78TxVkonpY9r78B5gK401Q8\neXBGjrNPVO+YpAhCuOuupTI/rTJBIdFyMRRTLHUy6fXPqhFovk2S2VquWDYf\nKxihW9SFIfZztj2HIGiB2lay38c0hJdnpUl/eJ7nt5B+nTxrFO+6Y3yylqXy\nAgqlkprqQUGhDHFNCa3SkPGBMXJtxzYiIBiCBnyD+fD50nwoLQ6/npZADjr7\njtXwRbGfrQAacODc9JstD4e4HPWB3FbcvRyolCCzHLuwzO4iDloJw/JJg4pG\nn3X0WrFigMDQJrVra3nFg/H9oUkkLF4D+zCcjeJUUiT5YHca63AoDyGGVq7K\nns+I\r\n=QLSu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFu3uj1tMK6tf+RonvoUGP2MXpXi2DT+CR3N+cvG4KkXAiEA+h7PICOjnmfVuph4UgeewW3k1sKAsFCBajsMtLEayOA="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.12_1618737146245_0.8283562542367482"},"_hasShrinkwrap":false},"0.0.13-canary.0":{"name":"@acot/acot-preset-wcag","version":"0.0.13-canary.0","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.13-canary.0","@acot/core":"0.0.12","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"08b6399b6046ef7711c5d5dae7b4883e33d705aa","readme":"# @acot/acot-preset-wcag\n\nA WCAG-based rule set for acot.\n\n## Installation\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.13-canary.0","_nodeVersion":"12.22.4","_npmVersion":"lerna/4.0.0/node@v12.22.4+x64 (linux)","dist":{"integrity":"sha512-mt5ZdS5EODk0sy+OcW3bRUgwqYc/Kp04obWYLu+cPwggyqRi4Zrw478qMNVj+m3f5M8jwlvr+om60JZT6rTD0A==","shasum":"7e824a176650a43d7da80b411d91efe845f84f98","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.13-canary.0.tgz","fileCount":30,"unpackedSize":44605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG8UvCRA9TVsSAnZWagAALYUP/0o1JpXzkdfxAW/tiFXM\nNJCqre/7Ch9yCEVHLRPuxD4cHoXIC72K6bioEmQggJ+cisoBFlSH8VCzvc4z\nZVkQRDzW884XGQe1IqkJo5mW/hcN8xY8DcxkIbbLFbPHzHbmOA2F7eNT5JWb\nw/rzuTcMrH0elCEX7r196jBTczRAYzusj6NMlFdjVnJEs+sJhxE+jJFs/oOg\nfeSiYORcPbp4Ki3HeMCpppI2Z1YbeeQwFkwXTugoUu/av03UATYoJpZoMIeE\ncj0NkQ+dixMlGgJv9PbnVCln2nSxOcOKQNXDyxHj9ijRaQgwYkJBsN0bRSEu\nqShpZ5bv/fTXTV4wWrvPINM8OS2Vhknl4eO/ORRFPm/3S56M/lp0J8jktZEE\n53dDsecShQRaHuT583G1bOUHNq0xPL9XFgz0QvJFBoSsZWrps2sCKf5oKPL8\nFnWQ60QlF+xDr/H8iMPbEvLYs/Ye0KYzWpI9KxZZQ/i8Q7lArSpO4wvqkRpG\nUaAgx1omrtreA8F9TtgFVENGsIztpaGA9wOr/w6f7MkkMisaHPQcWCGbPQ40\npfawbTS0aGGxiKzxZjBO1oNbbAcgmk/bvSdpTHNJX6NoUYARQbY6+/AvTK0h\nUmiB18CVvmHkw2SMkRM7byDm5uzvuc2WkhrjaFGE69LwJ/WdH72afmu5LMvE\ngw62\r\n=7bun\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8WQB/gUKToY6MJeeu5Vzh4FL6o6lvZyOzrp3QWh0P8wIgRHSVoN8dUZubhNsDPXCKLDrzT0JKxz8xRRfw4VdbHUw="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.13-canary.0_1629209903514_0.4528936461607136"},"_hasShrinkwrap":false},"0.0.13":{"name":"@acot/acot-preset-wcag","version":"0.0.13","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.13","@acot/core":"0.0.13","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"1c9b9558ecc47f3ed5be8509bd4fe69aa73b1a78","_id":"@acot/acot-preset-wcag@0.0.13","_nodeVersion":"12.22.6","_npmVersion":"lerna/4.0.0/node@v12.22.6+x64 (linux)","dist":{"integrity":"sha512-dnceTdci3vib/6w+AXGOclxzsPAKJUEq36+9k8efmeMUODi2h/XvmQBya6QgN4ApgWQAdFRvRrGk03aTIyvH9Q==","shasum":"de651d17b60ecddb7f819941e94844203aa2ff33","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.13.tgz","fileCount":30,"unpackedSize":44747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxHjlCRA9TVsSAnZWagAAHU0P/28lTXBEbCh9GOtjMcxh\nmCFogUFKhNweeNmMG/GsO0OG11Qe+hW8yw9Ha7IcxUz2YbsbolWza7aXTO8r\nRtKZM70ihVhUfkAWt8QaFfg/zxV8qEB/MPQ5+45CJXp2fB2DidIeSEd94x1J\neyG6Wr+KTD4629nSboK2xjuyqoSPR+ltdiGHLCD7q4LFBXlJG5jdhMlAxLZ9\nolDwFpEgpcTS7fHq8c+7kPW+CSKAZ3jCsKq8tVOl1ZNzXFGRs/1aCpXoaXJj\nI2LuZLcHlEHeTGb50VZqEd9LAFsG/r6ToCYqITgs3+qXTd8cP1IEaVuI/h0D\nhVBiZOgl4EPA1oIoB7mYRwRQKOoKnSTvvPBF2KOgmmn1XJyCy/hSVKB6YI4R\nz50xR2pCuXp4U3Yg8RL23K9OghCWDW5QU1+2Z70WjOUZPFysW0S2aseGlJiu\nEGxJ4a0jyHKo50Nihi/cZWTuwSmdZ1c/A50g+WunwMb0RjvZC76txdQU9ZZ0\nnGTEadiqSNHG3qFUG+SqS7lD/MbzIRWLv7hzhknkpSTOWKrmNmzmJpaHzatk\nvJbIxDmhTe+wpiSmOygkh2Co2xXLntnDOghnhm7sJwT2LYIxapREGWOQr+x0\nLZr4qXoVa/UhvKZkhBtTxmYaYFlqC11jmn37WZCC0omzO7lTiB6mxwtk+ABC\nuvIX\r\n=yl8Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAuCV8cKqmGiiUV3RcccZOQ4s6FvCEISLwkg+IYsYv4mAiACHEkKCAmW38uLZu5EVmU4f3LezJM6ZM40hskb0nfikg=="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.13_1633884406179_0.8761172609611358"},"_hasShrinkwrap":false},"0.0.14-canary.0":{"name":"@acot/acot-preset-wcag","version":"0.0.14-canary.0","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.14-canary.0","@acot/core":"0.0.14-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"7b896cb90a253f70bfd2d961ea2ae06883445fb7","readme":"# @acot/acot-preset-wcag\n\nA WCAG-based rule set for acot.\n\n## Installation\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.14-canary.0","_nodeVersion":"12.22.8","_npmVersion":"lerna/4.0.0/node@v12.22.8+x64 (linux)","dist":{"integrity":"sha512-82dSsi7P5PMcQ/tkF72v5E7D8/x3ArXcNrpyIx4lA1z1WXo8OT1zXKOnQv3odJQqMd9ntBkCxWIgiiDvO+l2lQ==","shasum":"4de8c2b92814e7cd1cd772b22dfba04c62d1b4d5","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.14-canary.0.tgz","fileCount":30,"unpackedSize":44943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0qeMCRA9TVsSAnZWagAAEUIQAIK2mwq4gL8GAqak6ocs\nLV5I0YLfsvflEQdExjx0pBU98j9fV5CSuoz1OfdwmAmV8IjMM7/D752BecdQ\n2cP36jYahOyN+UAlHzQM0cY8V0N8LlGCEc118vGi2p7kqpneLyOoj455Aqhy\nC+L199oIGCHmmtpaWHeCMPo4tOM2NBThYZ2x8P1zjjSrtzsDHhpPK7pr/sBj\n+nCikI7dYOtWD1nPwTRfqbR+UbgYevB4QQv0foGrVV3jquZdp/PRt6OhyO+O\nPmtrm8e6Hqpw9SPbFhtJjZX09TBx8oJrq6uitf00GymZ1qFquzhXSGPevwSP\n6GtHA24wI4RpNeKtS8tga7IXrOjpzPt/B7wAwq71sEu76ynQ0R3viPRSJxvc\nwWk1A7jq1Z7sl0nrvrDIM27EMomSjnME8rS9PlC5aE3odL3S9EyMb8hx9sFN\ndevnfwTsS5d6SqVjzAVJYnof1Rc8TtGR1BfSMOolj2jVN8S17aG6Mie/niPB\n8doyrQM3uSJ8mz+Dcm5rKbYkVsk9n0/Y0wqSTWY97hfDvh5VOYEWC64qk3+k\nxVhBd9rP47CqXSPLUx0CZYwQ/hMVZDCVcO8CJ4YVPEwkaCK7MogpGM6XS6Ar\nn72a/Ty7P06rVp5trMwn21oBX95Om+9yaZZR3Jm1WxmURAIMwYMQ0TwuZLHZ\nr4Lz\r\n=iDqm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKLioxGwYmSACRjSG+jNznhEkrVGQZI3KLbY2C+mVNHAIhANv9Gl7Lk//w5ZcCBLQzjQPpDKprYansl2Tu+Lc/swW4"}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.14-canary.0_1641195404085_0.18416444680631083"},"_hasShrinkwrap":false},"0.0.14-canary.1":{"name":"@acot/acot-preset-wcag","version":"0.0.14-canary.1","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.14-canary.1","@acot/core":"0.0.14-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"d3299ddbbcc5b771397788eba0ed6aff0cc7c42e","readme":"# @acot/acot-preset-wcag\n\nA WCAG-based rule set for acot.\n\n## Installation\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.14-canary.1","_nodeVersion":"12.22.8","_npmVersion":"lerna/4.0.0/node@v12.22.8+x64 (linux)","dist":{"integrity":"sha512-xLZacPoVGyv6kzydPIMBzqOcU2ZIm5BbIRyyyLNTTsu1O6JeaPRP/Baqf3CSBCASyKras9ra+/Ydw8dMq/hoSA==","shasum":"2aac7fe7d52af18cff89f57b55e2800b63da824c","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.14-canary.1.tgz","fileCount":30,"unpackedSize":45121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0rDNCRA9TVsSAnZWagAAiI4QAIoH5oNayGare4tMsaek\ntHmwH2IYh0APeSINkNOTarhQYE6q/DD9Cy4Sq3OPxwN5Yf3RZKEHr0Upijo9\nznrrLkKXvurH3nQV95LDaqiLrQlk7MttMgvFUX2XloRIdVMLowdC0/mkGYgp\nQfRqr+SbB5YBJC+KgQSQq9xY9S4HZqa0BhOhDk/4EJKi3WaEFft2kdoW5PA3\nDp/lvLxPQvHAVfw3/4FzXJgJBa/nOA/sYZn5tC2d2TgKmZ5NacZ0ICrwoyHN\nsHE+MXu7Py3hHt0fatM6LGoA37cBRta5Aw4j36v8YOkpxH/4+d9hbIy3bWDf\naf9FFOiyaqGLmc4diXFLV1R3AQdODY9JrtTk43Fyhg/8htx2A6YbsNQ7QPLs\nVwRj15xPbWA2DjYHV2ZhMz78aQ9RKzMDuW9RBi+sRA1c1AvqaR0EBZ8Sy138\niblLYf/yImDPvWMkeMrLX1bOuFFrHttNzG5H7tKL3oDttOQJKirLJ8wEkh2B\nwggeyotnJqROpnbr9A7ozFpC8n0/3KlbpxLl51u+8yShKJLVX1iTdHsNeYaG\ndIbCanyiK4JpFIxl+nIPt73LJHrvVottv7FQ3OxswfMP28OCEnJFbuLpXsZh\n01RZKbb76O14GkQtZqUijSxjJh+8TKd0xcvcElhy0SiyxBct/soqAs9Sjg1o\nCyYy\r\n=A032\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWeW3cWfHsCnVugsaLZT3QIDXX8yiyQ+ZSfNSSxkql8AiEA81YBZf0w+pOK9nnj3TmN4D8r69Vzx9hMRWNDMhOsRDY="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.14-canary.1_1641197773301_0.01837329076636851"},"_hasShrinkwrap":false},"0.0.14-canary.2":{"name":"@acot/acot-preset-wcag","version":"0.0.14-canary.2","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.14-canary.2","@acot/core":"0.0.14-canary.2","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"0ed675d1efaba43099c64cfef581c26aeec23e6d","readme":"# @acot/acot-preset-wcag\n\nA WCAG-based rule set for acot.\n\n## Installation\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.14-canary.2","_nodeVersion":"12.22.8","_npmVersion":"lerna/4.0.0/node@v12.22.8+x64 (linux)","dist":{"integrity":"sha512-KFnEWr8PmboIIxGSGKLPw7r8PMk639nF4B3mcqDpEc1HNgaTrTBtE3B3O01Szeq6fIoGyzGTe3coWdpTX2rcjw==","shasum":"20421d562a90d0a44f7208bc57a3b9d7f3d5d5fd","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.14-canary.2.tgz","fileCount":30,"unpackedSize":45299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0syQCRA9TVsSAnZWagAAI+UQAIFOxsUqqS6XyvrPMg8t\nfuT+OvnwE/TQ+mZB7ezTq9u05R9VTk2x6Mf+brQrZ1ftwSsboeoQ/xHhfsES\nvZqjS6I7MaThxh0KAupADSxjwyzygRJm/r06lrXnaXDqzIsHFmVeAJZcfyt+\nBuRsDemxVLmyIUmxMWRApNNGFsI1jLSrU2Oanz6iqAipcpoqJAeQgoGxNl5x\nVwmFward2OYEHUPPm0tyXQ/Blm1y7Dl+k9d86wCmN5ZevTHRqH/UHCE9LmUs\nE7e9/8jnaR0h9zbkBVRDLnISz0x7ImuBtX3CQmJ+tKRcA1z3hIiXLf/h/YtC\nlzmA9n/DSjPMWZXnPXFCwUOCfP5T97WwDPfTXkDEtnMFzBVT7FFJrnMNOZn5\nPMY8RGtari2KyIXDRomPz71IPGjFc0ZZ4CR7aOVH9huB6IEEMGbEX93/WSLQ\nKMiN4rECK9IFjsBU2L7UyWxwOwXqixlUtFRxCRK7wkLdYsfhT5bUC6B4xf/D\n3Dwh5lryMmxd/AToap677d2NSWqTNq2IExSFeKspFQXAjIp4SSq+U8Y/3j2j\nH3Mb7HglSvOp4K7F0xHB4FOcgtCiQPikUnzM+DqiE+UbKDw9NFiXqdeb+QZN\nkN9okSMhMXt42NwmEfmP1/dMpNBrVoBIueNI3DeY6YWjAKdPNZDxFIqAALcK\nL89F\r\n=0U8l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ57cofouHnXCjP+ccowaye94U9JJF+wxBSJ+2rD0dcwIgEJeeYuBiSUSq3LtwNdylBcvQ/Zrq94kznaIjFm/ic/A="}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.14-canary.2_1641204880107_0.23519102261202862"},"_hasShrinkwrap":false},"0.0.14":{"name":"@acot/acot-preset-wcag","version":"0.0.14","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.14","@acot/core":"0.0.14","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"23b69f2eec4a19f5a1b60eb54e90f696028387c2","_id":"@acot/acot-preset-wcag@0.0.14","_nodeVersion":"12.22.8","_npmVersion":"lerna/4.0.0/node@v12.22.8+x64 (linux)","dist":{"integrity":"sha512-WLkgZlnI2jcRJ/7NhST5hOfkZpMD09RXyOCRTNhuTtbHz0TI4jLKzDngAA+6ab6RXT5O9Yshrtju2yEGh9U0bA==","shasum":"b935ee3e0189722c0dad33b475551fe3cfb4d330","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.14.tgz","fileCount":30,"unpackedSize":45432,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0tNHCRA9TVsSAnZWagAAF3kP/21wRd7h3CeOLqKbOxRY\n+mZ7dQ4Ql0tCJnxEox/xbiWJHPE+AO5hIm38Qlo6buN1hri5sxWsPIT0QMNQ\njuhRHrKEHvMKuXik+2Z6FxtSX/z6tf3SOpgSFqkHZXMbgiEUpAv0h3k7KWoD\nEt35SM5+WPaIORs+EEzqbYkfFR1UzMtDUr2LbmT/natqPEE5BiLfpjP8Z+ZV\nkSI8qt07/iNuCwnhhsfogJq2dYxQZdjaqXplMsI7Oc5jup8awtZVAA0eVYN0\nPTlTdUcOoyinxX/kvtzLxTK/ZPC6/4DUERL8JgqL3M6qJMeucPhix1fmvW87\nnfJLTJy7xODLPSqhIWVSfo2dmVAR+7+ttLUkU4Alwfyk2G59ske/LTY5giQw\ncXzKTChC6J6eqDfjjs0NB5OH1O810Hv4WZl6lmqO7sDdcDdvUtPzlcU6EywD\nEsK9bhyiz9cccgljr3+vy3kV3oPrYHO5nHdJ7h9m2BEFb7zIz+1PUDsjsBKn\nNIyAzUsZ76QoqncfWHmi1STyiqea9BoqcAODL/rtWDqA0tJiHqFpGvIsRLBn\n/8Kl8U+Ox8paggrjvEq6gjF5eVQOvRG4Y6rBbCO7kJ4k3wU99Zv1UnMTBIlU\nil4+23fTYcwlAFnj5aI/ZNCGhPVIOwg0mrnIKj5NZtAwhBUnnJB/QwcwyUp6\nlzBo\r\n=Qaka\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGlcobRprZDO2N4vbUxHZgR3MeQaJHoyR67HtEdkMJcwIhALPihf8/sBU7gm3UhCawevSuSh26L0A8EWruklK1dKt5"}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.14_1641206599384_0.2408560121327601"},"_hasShrinkwrap":false},"0.0.15":{"name":"@acot/acot-preset-wcag","version":"0.0.15","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.15","@acot/core":"0.0.15","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"4d9ea6c5bb5cf7f6611c349f82d464df5abe8596","_id":"@acot/acot-preset-wcag@0.0.15","_nodeVersion":"12.22.10","_npmVersion":"lerna/4.0.0/node@v12.22.10+x64 (linux)","dist":{"integrity":"sha512-SZQk4H49Obc3QIh9OUSyZQrI/xAyTZVrJaSdJOEpZJb2espcNDGRbc8abjj8HEO2ZDPj1Oj6aQLK5sVJ6iObaA==","shasum":"73e0e85d0c22a4ff22207411231817dc89d17360","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.15.tgz","fileCount":30,"unpackedSize":45583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQJZnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGvQ//ULJmIvo10A/eEFfut06G2vQDUKr5GhH+LJm1Dbrv8cQEr+Z3\r\n3+JfK5IvBEmJdQ6v1RRW04iEx926a02i9ngPFmZIFhPcqze13084JyJZawRk\r\npWBKj4CYDtKYPiWaTRu1Rdp+pKN0S76J1x3xy4+dD/QiXwcD3JTsGyWcoAjv\r\nmNnvlDXwx4tGc01rIHMDpcjdpz1SXPHJAVpccEw4iHOGTpteXfn4StsW3ao7\r\n2qL6P5k3jSLMhkTKXXDoZ6pBzH8ZSUDkb5uDFrLcq3g77rh9bH0oxTWhfOb0\r\n3glg9iXtozM54+gkuKNG9e+01qINGBtP9q4N1m5b/lU7bpXAL6VaKf2qHCMB\r\nLTmNAJIAETcwg1HI8gaAHkkZIziCEjNv4/w7NtXZYJOkxqFi39Ie6RiXDj3T\r\n+xa5L00f34J2EsTh51oe9eZait2lpkdklR11hWUZjFXaIlIdtju8uz0H+ARL\r\nAOSWlsw79aImnpMkpF8YEs6V759NIzL3z4l6v1C+6yZNwaHW/lKECkfCzSIb\r\n0AOMFpWieNligoRx5m/rsJWs8f+KSEoZoZ8XDy0ES5PfIt9vKvlrlWgElMEF\r\nrVtGYxtYe5kSG9HwJkjRa8vqvBaZs2vYTUUwijKtpo6J2sqHC+/4lne25Ciz\r\nBpHfT7W2CrJYJ6SlZu7BDqS1NyWUU531hjw=\r\n=Zx7y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDY/mTAvtGR1M5frXFCokrIj3DxMlFEfI+ZFP92a608OwIhANVmfjaTYHpaYjb7xXNAVZUNijnYch6YRL65LSF1Jy2J"}]},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.15_1648399975519_0.6011167962558408"},"_hasShrinkwrap":false},"0.0.16":{"name":"@acot/acot-preset-wcag","version":"0.0.16","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","docgen":"acot preset docgen README.md","scaffold":"scaffdog generate","serve":"acot preset serve --watch","test":"acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.16","@acot/core":"0.0.16","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"7535e01cafd25fc1d6c32c31a1ae9fce5326b3d8","_id":"@acot/acot-preset-wcag@0.0.16","_nodeVersion":"12.22.12","_npmVersion":"lerna/4.0.0/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-JXRXiijlNJdwJzAqz4NzCAo6gTROrmhMJE/DaDYe22uFerwhF6r0mIUIdOEpK1zEPZOKqZnPFHEPkYjjrXuPpg==","shasum":"fc999563ca1b2a877cf8579afddbf5dd14c9fa32","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.16.tgz","fileCount":30,"unpackedSize":45789,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHLP1s7tWstnqKaNPaSRRA+EYkiODxwSoJPVJkGnAgfMAiEAvTD++ywoBVQO1rk4bkQEhAMxBCl52okHvrI9y4/7ArU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibmvhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlhA/+OHbMIJsMUOw6ko3KJX4q1Gq5MZo+szQOn1zYR9+O4FABa0Ps\r\nOQrAJVqjZ06LUfYbutGkCyRy+iJKL+ML/u1JOdDQa2wVqV3+RSSjDdSCRlQl\r\nzk9QW8vrmS8nUubnKkYlnWftaOAU4K7HVJh436Ab+fwuw6C7Q7BrLL542KrO\r\ndZxx6kmNuRhITONmSk1uYJVtrIezZORG+2wOFad4x99yGehMmYqOLODMR6ZN\r\nNt9953MzwJYj6x7Ng3GKkUlNN/2qF5G0Hc+ckDK+kohsAo6NDoGrE1Za0OoK\r\n2TvvdtEPDDNIMTnthHYM7A0xgV+WCspUJ8E4NQG7rzMlgcNpZqCVsdbFUzsW\r\nHqepzHuYmwMkKgDzI9Ykdj7NANGr7kHlo0yZ8pac366dKtRQmdgeCyByKaIo\r\nw5kxGbQZ07nhNrfldjxyPIC+oaebplM1Mi5wfGxk4hbXb/lNESxa7TtQP2xY\r\nVVcUtfHInI8oJdJcGalC0DzWtR2qH8o5dbvSz/npOGd5UOuaPNLwbWANST6s\r\njZqRhDnwZxcHck6BwIPzdcB4GyBhmLNwNlyxVzMirNbLQPEB30L8nGU8Gyvm\r\nxbVQXnOW/a1LzNr3NbE/uqRmwaXU7W8ZThw01UxYdx/iLnfAwNQrwp3lttiU\r\n5rb42CgcE1fQh8vW8CG9FBi40t1VnBsYHpQ=\r\n=FxT/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.16_1651403745058_0.20154205072102105"},"_hasShrinkwrap":false},"0.0.17-canary.0":{"name":"@acot/acot-preset-wcag","version":"0.0.17-canary.0","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"acot":"node ../cli/lib/bin.js","build":"tsc","docgen":"yarn acot preset docgen README.md","scaffold":"scaffdog generate","serve":"yarn acot preset serve --watch","test":"yarn acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.17-canary.0","@acot/core":"0.0.17-canary.0","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"613ef7fb03389f03ccc7ddeb63f3dec9d967cfd7","readme":"# @acot/acot-preset-wcag\n\nA WCAG-based rule set for acot.\n\n## Installation\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.17-canary.0","_nodeVersion":"12.22.12","_npmVersion":"lerna/4.0.0/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-KVxNgLw2EA6kt91hEbfh/rsZN9guTwNngTDqsritAt6IuSUclpo2UxRuagkuflAI35RgjBkXd2Hr/RCMk4KtPQ==","shasum":"2cd73e34b083dad4f5e98f925811143262ce9f64","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.17-canary.0.tgz","fileCount":29,"unpackedSize":34350,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXSuEZNu29G4TgQMZ5/wgY8fZlPpDpPUIgBdLutAIPxAIhAOjWX22jR8RUVETHrPJ8SI24JUPuhzHb5ESAYusZszSA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJic9OFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFwQ/9GXkmmxkekq9bmg/ikhDon53PHzOZhqebxDHTrcWizth+2xQe\r\nHpSudtFDX3dr2mu5K31kDgwIpFH+VObf73Ct+LKfxFCiUqo9f2Vr/vbE0Odh\r\nplNVapx6pCUTIU4ApJmnnUn3pM3+9m102Bry51FI9JNQJAmAIVjG+uvbGWle\r\nEjEP9Iq113s1H2+tceGGbz1CWyvgZKvLWbid6pEv7YsvWQPkd+VhhmcUuhJq\r\ndkirBX4q/nAamhBJQ9pXKmdwUveyf090rarnZsnIEHUcQQd7VuhR/E3OxMBk\r\nmJa7dC1MYKuKTrG9y1Ntaf2RHIguSiCV3zgD454Cc2eCjq08v1/bFvWiWpIO\r\nOP7al0vCMMBqLAuQpNE6H06o9LrLhnSrN/SUqqKATB3fd18JcOGLpUT0OBhl\r\nttfZ1ygu19cLValk9W5ZYpYItBwXtyOr/H7QUrG3/eqzCM73mSfyFogdlVMH\r\nTvzVPlaUnCX7kJbvQvySkvB6xBUIuTM4Q2ofSeuAU5hxkYVpAm2NP9axdvNe\r\nJPHOJ6+S75V5OJpbxHptzbpGlgzfEjHi9dHDe1sindk6yk/7d7jDVYG0B/j/\r\nwTgJeMOs/PgvxzQyxIgIXzzU9pTTJrJa7pWMrDMAWrWId9zCZ7Vu5JKoBQym\r\nunUU6vnLPsHo5Gofw674XHxjD4RJlLvx5gk=\r\n=qfcR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.17-canary.0_1651757957453_0.8347067412270686"},"_hasShrinkwrap":false},"0.0.17-canary.1":{"name":"@acot/acot-preset-wcag","version":"0.0.17-canary.1","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"acot":"node ../cli/lib/bin.js","build":"tsc","docgen":"yarn acot preset docgen README.md","scaffold":"scaffdog generate","serve":"yarn acot preset serve --watch","test":"yarn acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.17-canary.1","@acot/core":"0.0.17-canary.1","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"a9f66324bb9cb0c01e34f33f7886137d6bba8ed8","readme":"# @acot/acot-preset-wcag\n\nA WCAG-based rule set for acot.\n\n## Installation\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.17-canary.1","_nodeVersion":"12.22.12","_npmVersion":"lerna/4.0.0/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-zL5G9WogapjJBNMbf/enD9fOcWLj5Vmb1OyuyHzNsGoD3p6gouGJVOix1TMdBRPI8H0LT1vdOe/AGn7yROjvWg==","shasum":"9307db069638b495875994a4e951f55c8f9644bb","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.17-canary.1.tgz","fileCount":29,"unpackedSize":34350,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSe3K1GIZcruhv+umIbbP7BO2d8E3z0G7wK2jNxMT3rgIhALwpP9cDb8KtNaMmtVf3UgqlmIluT5RCEVxH3tO7fsEt"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidAFwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjAw/+KptOVng+IgH7mS0MUqapuxKwnQN9TjDwz2LXcTas/scnZDOz\r\n7mm6L6eFDLV1AHgNnNyOJ8qnc2A3HNjhLKx/JBzwbdEYPj+HPHkRPi4kjSgA\r\nnkMEQdo2WxJnoYl2cecjzLQHfyr9+23x1BaAGfzDf1EzFP0HgXswWNaRsx/X\r\nDJJ0i5lk8QmKT6ZzT9CTOSqTR+yQRCK8lMDlUsTcojIFh5CzV/MdmcjFbS7l\r\nZfTEdPc2Y1gPgykEZlYQEyqyLKcp+N/ZcSjEceXLhfwFiPTzuDTOKU9sYhpU\r\nqJ3d/bEo7lFky391WZ9eThyCx3pHrFaRRNE6GxrI0UzzL6zKwqbDqcPs/eKU\r\nxWPr7ESAkfAIm1aF1DAOHjk6RYs4HV+QBjhXWyU6atB5Kj4SBgLnYLfgjOxU\r\nJvZstuVbKkWkrgo6C4Sej6Twm3pKfMGp2XInAHLMxdCPVe/NqzSl1v31148b\r\nRpf2lc3vqw6+e/l9bJflEkfvsxPNoVAKfTAOkgX4kJee/8QWPZviE78+7OEv\r\npu+8MAfUMllSsf+C18dyWNbIsuyLXOBVBlargKssGilCjP/wv65DZxFCORiR\r\nLFt10RDVJXCICBFkSRJl9BFB1zP3iC4IMCxZU157mpB8Ea/gQQM829Mlh5mU\r\nBEPnhy1EjhFQtMyCbKdIrxsqKSOgJoUFlfQ=\r\n=h9YH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.17-canary.1_1651769712124_0.21252579738857125"},"_hasShrinkwrap":false},"0.0.17-canary.2":{"name":"@acot/acot-preset-wcag","version":"0.0.17-canary.2","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"acot":"node ../cli/lib/bin.js","build":"tsc","docgen":"yarn acot preset docgen README.md","scaffold":"scaffdog generate","serve":"yarn acot preset serve --watch","test":"yarn acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.17-canary.2","@acot/core":"0.0.17-canary.2","language-tags":"^1.0.5"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"d75d5718d33120740e2e369c3d5d0a547527909a","readme":"# @acot/acot-preset-wcag\n\nA WCAG-based rule set for acot.\n\n## Installation\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                    | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                   | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                   | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                               | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels. | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                        | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                    | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                        | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.    | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                        | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules                                              |\n| ---------------------- | ------------------------------------------------------- |\n| 1.1.1 Non-text Content | [@acot/wcag/img-has-name](./docs/rules/img-has-name.md) |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules |\n| ----------------------------- | ---------- |\n| 1.3.1 Info and Relationships  | -          |\n| 1.3.2 Meaningful Sequence     | -          |\n| 1.3.3 Sensory Characteristics | -          |\n| 1.3.4 Orientation             | -          |\n| 1.3.5 Identify Input Purpose  | -          |\n| 1.3.6 Identify Purpose        | -          |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)-                    |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                |\n| ----------------------- | --------------------------------------------------------- |\n| 4.1.1 Parsing           | -                                                         |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md) |\n| 4.1.3 Status Messages   | -                                                         |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n","readmeFilename":"README.md","_id":"@acot/acot-preset-wcag@0.0.17-canary.2","_nodeVersion":"12.22.12","_npmVersion":"lerna/4.0.0/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-N09P2RFxAW54I1bYxwhSLlzoP9IApZJYS3mlHA3bjlycuBOvgkkCrujsLPrJ+0OQvOZdogIDQVZ42tohbL3Z8w==","shasum":"fd4871249d99fd3e1416d6857f820bcfc2ae3c8e","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.17-canary.2.tgz","fileCount":29,"unpackedSize":34350,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz6c4z/TRIIyHtk+jWWgrre4y+pfyiEEPHKRRuT8HMMQIhAL74q2yNTWCu2W7BgjXA7V2DXWXaUNXt+FL2iGB9/M9A"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidLBUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+KQ/9Hcd7lTsHx/82wgP/VOeCqkuVp9q1VzT31Yw2fU4AzqP0p781\r\n9ioJTV4ADI71LSzjFUNMISQbvNjJxFk+N8GPvFutFuntDndwH/q5zIGBNq09\r\nr791vzRLP48+IO8+kfjPMa/CEqKz5R6+d5srG/O1qBb82BeWUnrmvOmreOeA\r\nvdcDORBsR1R80gse46R/NdSkC14V8EvjN+yrUn8j/9d5cKUyMDRX+7p2HM5t\r\n61z119/2xXiCn5MIOXY3fFOGxsW3swNw2MgT2HLXWGkdZW1hp68ZHfx2vRlj\r\nvobeoZqmTJTlL/wbvEt28fSkp+oFb135moSRqKBqxMO5Z9kxTLWEO+iDdoAt\r\nV44PzWGD+EXlmWjqYpTgiBrdbVJclKbI2Qa7bPqOdNVXi7eDcsOHktk07TbJ\r\nRu+z/Rar1XHq83dI2m8OyacmZkpdsHBiSPSRphYcoIALAqVnQ4t5qTsIqcak\r\n+wh7Sl8jsExy8XFNa4RUs4JZN60Hu30W2Z6zLRMTWCXfz25Z27xWSPTvtB03\r\nLEQaY5YZkE4ZlJ69dCX0TdFiGBtrolR5LHjygGTXHZOcIjAVAoFLKJ53PBRk\r\nV0T9jjGwS8jW3Aja+9qwPaYYeXy8oA/Mrg1qcrRz4emiRqvTDDPpAGbT25A5\r\n3cmE+N2cnVkAxT80/Rh+lTy9bEa2yrVHx1A=\r\n=GuAx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.17-canary.2_1651814484242_0.9434575041711457"},"_hasShrinkwrap":false},"0.0.17":{"name":"@acot/acot-preset-wcag","version":"0.0.17","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"acot":"node ../cli/lib/bin.js","build":"tsc","docgen":"yarn acot preset docgen README.md","scaffold":"scaffdog generate","serve":"yarn acot preset serve --watch","test":"yarn acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.17","@acot/core":"0.0.17","@acot/utils":"0.0.17","language-tags":"^1.0.5","p-limit":"3.1.0"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"44f3e9e7716d6664a7f7683bac3ee8fe0e299280","_id":"@acot/acot-preset-wcag@0.0.17","_nodeVersion":"12.22.12","_npmVersion":"lerna/4.0.0/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-RE3Zy4ehFuLX5igTmkiVEA7OpY/0OLGYFjsR0cb2ifGAczu1VCmIVt4knopPF1vsipBjPtmJMrP0ozKi9aqwuA==","shasum":"d259157185848ce90fbd69de4f137d63f8a1085e","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.17.tgz","fileCount":29,"unpackedSize":35471,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB/al1Av8wpg37F5iz2WsiV+H05VdpX+kdQs72ectE3QIgPr5wDr3PS6Z358cozZ4FIiFJ8Z/Z0sgu09fulsJMmp4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiegduACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqxQw//QdGdfzN439VejMlvvLIOLbsBUYmmrt+Wp9ym7Ujvxpc0gJE7\r\nwrr7WZy1htOg8/6x8DzjpcmBq6twIYpx4PsKCBa7m4lcMoCvJz0hZUjjK+Uq\r\nZ10m7TyaxW4+H0Id0ED6gFGvbmJGlPRJ0MeSvtpzK1UmSx/BZeZfxJUxkl7D\r\nj/n5kwAFn0NlzNZ707PUtmAIXOvZo+lNXeXO1e2zd049stK9pMjFFveXNOPo\r\n9xGoIuw5ursr23nq2VOPjmgqQosOAhx/EeAxrJ0b7hvnVHlviuX/q0BHRvR3\r\nqw2eZdIymMzNFX6f3wlz6d50bAp4YoFEH/WzqUJPZUrxrLLIh884C0a4S/Ad\r\nPe4XAhKh6im4gT6fq+319U2OtgLfCYsI8lFSoS/nn4sb4puvJDhCUuCH8rJP\r\nifwOS+Z35wXsLGTIrUlJQck2+a1O4nBA52Up789HRhX+/hAExy6P0EFPOLto\r\nSat4Ehytf9IG6ctlUczEqjjqm1r5plNHFKU3u3Tj+MAqW7nGBuEF7SQffx08\r\neSufm6yIdVeEDBbWyNzLb/NDXDtBA5MQD4Tt6chowcazKbWvurgw6ZaYPS9M\r\nwqJ+W2pfiS2fCjXRztaHYp7uam57EH4ePIW22LRoCBuzZDMdHh8Zb6Jxe3GW\r\n35HFJXbs/ROq8JEzXriZUbhz8AcO0SoNMqY=\r\n=CoNX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.17_1652164462741_0.8852541492266128"},"_hasShrinkwrap":false},"0.0.18":{"name":"@acot/acot-preset-wcag","version":"0.0.18","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"acot":"node ../cli/lib/bin.js","build":"tsc","docgen":"yarn acot preset docgen README.md","scaffold":"scaffdog generate","serve":"yarn acot preset serve --watch","test":"yarn acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.18","@acot/core":"0.0.18","@acot/utils":"0.0.18","@sinclair/typebox":"^0.23.2","language-tags":"^1.0.5","p-limit":"3.1.0"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"54b3a407aa63569611f93e41ebc8beac0cd12e0b","_id":"@acot/acot-preset-wcag@0.0.18","_nodeVersion":"12.22.12","_npmVersion":"lerna/4.0.0/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-I+TtOf3p9tC0xQqAzd5VrFSzVoV94MVf36XBWR2I1w4IDo+B9cTjb8dp3KkGe9rOqR1j5M/iddSucX2we2qK6Q==","shasum":"6bf14b2f7ee82fb6245d967765fed929ddeeeb17","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.18.tgz","fileCount":29,"unpackedSize":39166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDIlf36gZWa0lls7XTIVMIvIP3JpVUXCPIUBRmBIEFgbAiBarb4e5jPjopnJo/VkzX6k2IqagxR4qLI5WVgRXaefXQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJie8aGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpN4xAAnYlfQMJHgnhWMw78lxPWCfaS8aHUtv6G5MpBJfZxSmidGSHe\r\neUjkx/TkB5pcVhSBqilLoJlWCuM3NdSyQqlSor98lNwbcTINQHP1k3hWutrg\r\nRfUtKvJOLlbmaMERMbqAhx2d1lJR4EYLUkl8b3evHhMsocy6/pSNsEdqKljm\r\nL+B3T94uC5egwsIM36IZhmoJXZYi+9jlsFaZUkqeOd2O+fIt7dEJCn+aRyjj\r\nuEaRpP1pa1O9KOwHCZAWOGG01F59g4/hiE6aFBbUcs4hgzc0hr717A+pU2gY\r\nR1Ref8hsWqYFtZVJMw1tVpJo+nDAsw2sW+PBSabM5DuW0/t6yR+pmsbVN8dv\r\nC9JEkuUvOtdSJ1OGjO7XpDJFF/pMJDPnastPCOcIZNUmaif/URVA5IzzGKkY\r\n1Wl9fwajht0YB7Q8dhv5IY55nJQKKLBvhUOewakUhJk6JnognckbwpCg6QNg\r\nUfaYRgNjf60is6gHoFGl3UtfyvzBsQgedTjxtPeeRA1UNsiHVzLiEoHjNJym\r\nOclcqi5/zqZ90tJudz6zRnjItcLD5ecCJwvRzXLRh8gPBaKM/pDqhG6Cdz98\r\nOLLNik63i/UY0etm5nmXJzcgu2WvhbXmWraUEfcn+uMRQMwzj6JHHlGA5L3w\r\nIvVCxPndUZ+cNUgDrn3eDRvLLX0U6yY/6Q8=\r\n=yKFW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.18_1652278917865_0.29280748159055037"},"_hasShrinkwrap":false},"0.0.19":{"name":"@acot/acot-preset-wcag","version":"0.0.19","description":"A WCAG-based rule set for acot.","keywords":["acot","acot-preset","wcag"],"homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"license":"MIT","author":{"name":"wadackel","email":"wadackel@gmail.com"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"acot":"node ../cli/lib/bin.js","build":"tsc","docgen":"yarn acot preset docgen README.md","scaffold":"scaffdog generate","serve":"yarn acot preset serve --watch","test":"yarn acot preset test --port 1234"},"dependencies":{"@acot/cli":"0.0.19","@acot/core":"0.0.19","@acot/utils":"0.0.19","@sinclair/typebox":"^0.23.2","language-tags":"^1.0.5","p-limit":"3.1.0"},"devDependencies":{"@types/language-tags":"1.0.0"},"publishConfig":{"access":"public"},"gitHead":"34ff82b04faf65d22f323fd9ea47e03ede0fc13c","_id":"@acot/acot-preset-wcag@0.0.19","_nodeVersion":"12.22.12","_npmVersion":"lerna/4.0.0/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-VnDE2lBLHbeYSLjm1Ia8BCTklQtZUKVkpu+z5jyOH9N1FB5JfCZu0PpeyWqeXVYkBWzol1bevNUHt/XGgg88zQ==","shasum":"fe501bcd90ba5aafab69ad1a08c9b0e41490debd","tarball":"https://registry.npmjs.org/@acot/acot-preset-wcag/-/acot-preset-wcag-0.0.19.tgz","fileCount":31,"unpackedSize":43380,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFpMORIA1n+S0YRbhF5eYU4RdTkyRDhGoGHNH/rX2G+0AiEAhURHutnK626EzHBisAZdIkn6B5yGREI4mZzblWEkwvU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinMW2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpe4A/+INLp148lDxsATfV0ljaHVHUm0w8BAIIRplYHg7+gxU6uSnmR\r\nfX7jZP1ykFBwk9LJoBcF8tAgTZH6LWjpRra280rySN3GWYj5YTbpZVJ8q4T+\r\nefekc063X2o+LtKL3OpT/7M8vAQlIyAe1Xo8AkydctOjV03eeZ5Jo+xYAIrt\r\n1volAQ+qqaAjb5lZw5jDMqZHV9iz1HI67k2jCnIc0x7mxqaa/2NkcCczFHTO\r\nYsuxfGTjs13iWxPH/2IrQW+9KAXsCsFy7zWsrZTxjtU+RsAn01EqCfVSMl+2\r\nnRMQT+tvHpb38q+hmgke8P6XWro0Mo+WkfCst+5CzULvOsB43b1Cbeuz3yiq\r\nit5KBjivamw8Qpz8r96ZlBS/U7KOqgl0h/iOPn4ldqE5tlp9QIMIXagh3RTL\r\nihZJHZyT1EIiIZfZPqutGRV6X/2tgUgHsBo+QI5w/+5+A7FLxTNLPzLe+6lU\r\neqs5JUTn1N3KSDOkS8HIVZmq6drfk4YQNIiyFeB2ufygznwJKzcjcwNQwohk\r\nUc0zV5YsrV0Tp+SkJuiHOrcOBusUm/VP+jyIDJnwathFLdl1oBZfXiNkMo2/\r\nhdVPGEiIOjGkWRox4LdN+s8f3p6JTFjJgu9y3ZMbE5VI72rbfprrX6wuH/WA\r\n6P+YDA6FXLzWeTunt/noCk9MgFSegeFThto=\r\n=W8FJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wadackel","email":"wadackel@gmail.com"},"directories":{},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acot-preset-wcag_0.0.19_1654441398636_0.8231994607552637"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-05T14:45:56.721Z","0.0.2-canary.2":"2020-11-05T14:45:57.160Z","modified":"2022-06-05T15:03:18.883Z","0.0.2-canary.3":"2020-11-08T05:44:57.404Z","0.0.2-canary.4":"2020-11-08T08:45:36.110Z","0.0.2-canary.5":"2020-11-08T10:09:21.795Z","0.0.2-canary.6":"2020-11-08T13:48:57.919Z","0.0.2-canary.7":"2020-11-23T07:38:51.183Z","0.0.2":"2020-12-10T02:47:27.285Z","0.0.3-canary.0":"2020-12-14T14:47:48.052Z","0.0.3-canary.1":"2020-12-16T13:06:51.648Z","0.0.3-canary.2":"2020-12-16T16:09:25.761Z","0.0.3-canary.3":"2020-12-19T09:30:33.776Z","0.0.3-canary.4":"2020-12-20T14:40:12.882Z","0.0.3":"2020-12-22T13:28:39.050Z","0.0.4-canary.0":"2020-12-29T03:13:12.167Z","0.0.4-canary.1":"2020-12-29T04:04:35.328Z","0.0.4-canary.2":"2020-12-29T04:20:46.225Z","0.0.4":"2020-12-29T05:00:14.469Z","0.0.6-canary.0":"2021-01-04T07:54:25.027Z","0.0.7-canary.0":"2021-01-13T17:10:01.441Z","0.0.7":"2021-01-13T17:20:34.254Z","0.0.8":"2021-01-30T06:50:11.979Z","0.0.9-canary.0":"2021-03-30T15:53:36.494Z","0.0.10-canary.0":"2021-04-04T06:20:28.373Z","0.0.10":"2021-04-11T16:00:34.537Z","0.0.11":"2021-04-12T16:33:55.429Z","0.0.12":"2021-04-18T09:12:26.396Z","0.0.13-canary.0":"2021-08-17T14:18:23.626Z","0.0.13":"2021-10-10T16:46:46.333Z","0.0.14-canary.0":"2022-01-03T07:36:44.206Z","0.0.14-canary.1":"2022-01-03T08:16:13.450Z","0.0.14-canary.2":"2022-01-03T10:14:40.332Z","0.0.14":"2022-01-03T10:43:19.516Z","0.0.15":"2022-03-27T16:52:55.866Z","0.0.16":"2022-05-01T11:15:45.205Z","0.0.17-canary.0":"2022-05-05T13:39:17.591Z","0.0.17-canary.1":"2022-05-05T16:55:12.327Z","0.0.17-canary.2":"2022-05-06T05:21:24.444Z","0.0.17":"2022-05-10T06:34:22.945Z","0.0.18":"2022-05-11T14:21:58.113Z","0.0.19":"2022-06-05T15:03:18.806Z"},"maintainers":[{"name":"wadackel","email":"wadackel@gmail.com"}],"description":"A WCAG-based rule set for acot.","homepage":"https://github.com/acot-a11y/acot/tree/main/packages/acot-preset-wcag","repository":{"type":"git","url":"git+https://github.com/acot-a11y/acot.git","directory":"packages/acot-wcag"},"author":{"name":"wadackel","email":"wadackel@gmail.com"},"bugs":{"url":"https://github.com/acot-a11y/acot/issues"},"license":"MIT","readme":"# @acot/acot-preset-wcag\n\nA WCAG-based rule set for acot.\n\n## Installation\n\nInstall via npm:\n\n```bash\n$ npm install --save-dev @acot/acot-preset-wcag\n```\n\n## Usage\n\nAdd `@acot/wcag` to the `presets` field of the acot config file. then configure the rules you want to use under the rules section.\n\n```json\n{\n  \"presets\": [\"@acot/wcag\"],\n  \"rules\": {\n    \"@acot/wcag/button-has-name\": \"error\"\n  }\n}\n```\n\nYou can also enable all the recommended rules for our preset. Add `preset:@acot/wcag/recommended` in `extends`:\n\n```json\n{\n  \"extends\": [\"preset:@acot/wcag/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- acot-rules:start -->\n\n| Name                                                                                    | Summary                                                                              | :heavy_check_mark: |\n| :-------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------- | :----------------- |\n| [`@acot/wcag/dialog-focus`](./docs/rules/dialog-focus.md)                               | Move focus to inside dialog or set dialog after trigger.                             | :heavy_check_mark: |\n| [`@acot/wcag/focusable-has-indicator`](./docs/rules/focusable-has-indicator.md)         | Focusable element has a focus indicator.                                             | :heavy_check_mark: |\n| [`@acot/wcag/img-has-name`](./docs/rules/img-has-name.md)                               | The `img` element or img role MUST has name.                                         | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-enough-size`](./docs/rules/interactive-has-enough-size.md) | The size of the target for pointer inputs is at least 44 by 44 CSS pixels.           | :heavy_check_mark: |\n| [`@acot/wcag/interactive-has-name`](./docs/rules/interactive-has-name.md)               | Interactive elements MUST has name.                                                  | :heavy_check_mark: |\n| [`@acot/wcag/interactive-supports-focus`](./docs/rules/interactive-supports-focus.md)   | _T.B.A_                                                                              |                    |\n| [`@acot/wcag/invalid-id-reference`](./docs/rules/invalid-id-reference.md)               | The target of the ID reference or ID reference list MUST exist in the same document. | :heavy_check_mark: |\n| [`@acot/wcag/link-has-name`](./docs/rules/link-has-name.md)                             | Link MUST has name.                                                                  | :heavy_check_mark: |\n| [`@acot/wcag/page-has-title`](./docs/rules/page-has-title.md)                           | Web pages have titles that describe topic or purpose. WCAG 2.1 - 2.4.2.              | :heavy_check_mark: |\n| [`@acot/wcag/page-has-valid-lang`](./docs/rules/page-has-valid-lang.md)                 | The `html` element MUST has a valid lang attribute.                                  | :heavy_check_mark: |\n\n<!-- acot-rules:end -->\n\n## Coverage WCAG 2.1 by @acot/acot-preset-wcag\n\n### Perceivable\n\n#### 1.1 Text Alternatives\n\n| Success criteria       | acot rules |\n| ---------------------- | ---------- |\n| 1.1.1 Non-text Content | -          |\n\n#### 1.2 Time-based Media\n\n| Success criteria                                           | acot rules |\n| ---------------------------------------------------------- | ---------- |\n| 1.2.1 Audio-only and Video-only (Prerecorded)              | -          |\n| 1.2.2 Captions (Prerecorded)                               | -          |\n| 1.2.3 Audio Description or Media Alternative (Prerecorded) | -          |\n| 1.2.4 Captions (Live)                                      | -          |\n| 1.2.5 Audio Description (Prerecorded)                      | -          |\n| 1.2.6 Sign Language (Prerecorded)                          | -          |\n| 1.2.7 Extended Audio Description (Prerecorded)             | -          |\n| 1.2.8 Media Alternative (Prerecorded)                      | -          |\n| 1.2.9 Audio-only (Live)                                    | -          |\n\n#### 1.3 Adaptable\n\n| Success criteria              | acot rules                                                              |\n| ----------------------------- | ----------------------------------------------------------------------- |\n| 1.3.1 Info and Relationships  | [@acot/wcag/invalid-id-reference](./docs/rules/invalid-id-reference.md) |\n| 1.3.2 Meaningful Sequence     | -                                                                       |\n| 1.3.3 Sensory Characteristics | -                                                                       |\n| 1.3.4 Orientation             | -                                                                       |\n| 1.3.5 Identify Input Purpose  | -                                                                       |\n| 1.3.6 Identify Purpose        | -                                                                       |\n\n#### 1.4 Distinguishable\n\n| Success criteria                    | acot rules |\n| ----------------------------------- | ---------- |\n| 1.4.1 Use of Color                  | -          |\n| 1.4.2 Audio Control                 | -          |\n| 1.4.3 Contrast (Minimum)            | -          |\n| 1.4.4 Resize text                   | -          |\n| 1.4.5 Images of Text                | -          |\n| 1.4.6 Contrast (Enhanced)           | -          |\n| 1.4.7 Low or No Background Audio    | -          |\n| 1.4.8 Visual Presentation           | -          |\n| 1.4.9 Images of Text (No Exception) | -          |\n| 1.4.10 Reflow                       | -          |\n| 1.4.11 Non-text Contrast            | -          |\n| 1.4.12 Text Spacing                 | -          |\n| 1.4.13 Content on Hover or Focus    | -          |\n\n### 2. Operable\n\n#### 2.1 Keyboard Accessible\n\n| Success criteria              | acot rules                                                                          |\n| ----------------------------- | ----------------------------------------------------------------------------------- |\n| 2.1.1 Keyboard                | [@acot/wcag/interactive-supports-focus](./docs/rules/interactive-supports-focus.md) |\n| 2.1.2 No Keyboard Trap        | -                                                                                   |\n| 2.1.3 Keyboard (No Exception) | -                                                                                   |\n| 2.1.4 Character Key Shortcuts | -                                                                                   |\n\n#### 2.2 Enough Time\n\n| Success criteria        | acot rules |\n| ----------------------- | ---------- |\n| 2.2.1 Timing Adjustable | -          |\n| 2.2.2 Pause, Stop, Hide | -          |\n| 2.2.3 No Timing         | -          |\n| 2.2.4 Interruptions     | -          |\n| 2.2.5 Re-authenticating | -          |\n| 2.2.6 Timeouts          | -          |\n\n#### 2.3 Seizures and Physical Reactions\n\n| Success criteria                       | acot rules |\n| -------------------------------------- | ---------- |\n| 2.3.1 Three Flashes or Below Threshold | -          |\n| 2.3.2 Three Flashes                    | -          |\n| 2.3.3 Animation from Interactions      | -          |\n\n#### 2.4 Navigable\n\n| Success criteria                | acot rules                                                                    |\n| ------------------------------- | ----------------------------------------------------------------------------- |\n| 2.4.1 Bypass Blocks             | -                                                                             |\n| 2.4.2 Page Titled               | [@acot/wcag/page-has-title](./docs/rules/page-has-title.md)                   |\n| 2.4.3 Focus Order               | [@acot/wcag/dialog-focus](./docs/rules/dialog-focus.md)                       |\n| 2.4.4 Link Purpose (In Context) | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)                     |\n| 2.4.5 Multiple Ways             | -                                                                             |\n| 2.4.6 Headings and Labels       | -                                                                             |\n| 2.4.7 Focus Visible             | [@acot/wcag/focusable-has-indicator](./docs/rules/focusable-has-indicator.md) |\n| 2.4.8 Location                  | -                                                                             |\n| 2.4.9 Link Purpose (Link Only)  | -                                                                             |\n| 2.4.10 Section Headings         | -                                                                             |\n\n#### 2.5 Input Modalities\n\n| Success criteria                  | acot rules                                                                            |\n| --------------------------------- | ------------------------------------------------------------------------------------- |\n| 2.5.1 Pointer Gestures            | -                                                                                     |\n| 2.5.2 Pointer Cancellation        | -                                                                                     |\n| 2.5.3 Label in Name               | -                                                                                     |\n| 2.5.4 Motion Actuation            | -                                                                                     |\n| 2.5.5 Target Size                 | [@acot/wcag/interactive-has-enough-size](./docs/rules/interactive-has-enough-size.md) |\n| 2.5.6 Concurrent Input Mechanisms | -                                                                                     |\n\n### 3. Understandable\n\n#### 3.1 Readable\n\n| Success criteria        | acot rules                                                            |\n| ----------------------- | --------------------------------------------------------------------- |\n| 3.1.1 Language of Page  | [@acot/wcag/page-has-valid-lang](./docs/rules/page-has-valid-lang.md) |\n| 3.1.2 Language of Parts | -                                                                     |\n| 3.1.3 Unusual Words     | -                                                                     |\n| 3.1.4 Abbreviations     | -                                                                     |\n| 3.1.5 Reading Level     | -                                                                     |\n| 3.1.6 Pronunciation     | -                                                                     |\n\n#### 3.2 Predictable\n\n| Success criteria                | acot rules |\n| ------------------------------- | ---------- |\n| 3.2.1 On Focus                  | -          |\n| 3.2.2 On Input                  | -          |\n| 3.2.3 Consistent Navigation     | -          |\n| 3.2.4 Consistent Identification | -          |\n| 3.2.5 Change on Request         | -          |\n\n#### 3.3 Input Assistance\n\n| Success criteria                                | acot rules |\n| ----------------------------------------------- | ---------- |\n| 3.3.1 Error Identification                      | -          |\n| 3.3.2 Labels or Instructions                    | -          |\n| 3.3.3 Error Suggestion                          | -          |\n| 3.3.4 Error Prevention (Legal, Financial, Data) | -          |\n| 3.3.5 Help                                      | -          |\n| 3.3.6 Error Prevention (All)                    | -          |\n\n### 4. Robust\n\n#### 4.1 Compatible\n\n| Success criteria        | acot rules                                                              |\n| ----------------------- | ----------------------------------------------------------------------- |\n| 4.1.1 Parsing           | [@acot/wcag/invalid-id-reference](./docs/rules/invalid-id-reference.md) |\n| 4.1.2 Name, Role, Value | [@acot/wcag/link-has-name](./docs/rules/link-has-name.md)               |\n| 4.1.3 Status Messages   | -                                                                       |\n\n## Concept\n\n### Interactive content\n\nSome rules deal with interactive content. The definition of interactive content to be audited is as follows:\n\n1. [3.2.5.2.7 Interactive content](https://html.spec.whatwg.org/multipage/dom.html#interactive-content) compliant elements.\n1. Elements with a role attribute that conforms to the above.\n1. Focusable elements.\n","readmeFilename":"README.md","keywords":["acot","acot-preset","wcag"]}