{"_id":"@accesslint/vitest","_rev":"11-6c0a597b314bab7fea2dd51ec74008bc","name":"@accesslint/vitest","dist-tags":{"latest":"0.3.2"},"versions":{"0.1.0":{"name":"@accesslint/vitest","version":"0.1.0","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"license":"MIT","_id":"@accesslint/vitest@0.1.0","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"homepage":"https://github.com/AccessLint/core#readme","bugs":{"url":"https://github.com/AccessLint/core/issues"},"dist":{"shasum":"4659ac9b43d636d26dca3e97af7c301740b767e1","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.1.0.tgz","fileCount":11,"integrity":"sha512-hUCc/Z0nJe1IsBVy6Xso/iqmv0+tvkNU4UnATp7ZNvKJEsT6A/55v4hK1fPgTg2g1bcoLbBeFZsCX6POWW7UlQ==","signatures":[{"sig":"MEUCIGZWjYGX+30vmM5QU7rZjwgnbsvNpcyu/2vtwhGBgF4HAiEAg8dLgld5v5p4Z2Dp2JYhWwErxirgOl0DGrXe1X/3u2M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11466},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./matchers":{"types":"./dist/matchers.d.ts","import":"./dist/matchers.js","require":"./dist/matchers.cjs"}},"gitHead":"89c0645e0f5cda0f60b6c750bd0ec7dbdea2aeee","scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ckundo","email":"cameron@accesslint.com"},"repository":{"url":"git+https://github.com/AccessLint/core.git","type":"git"},"_npmVersion":"11.8.0","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","directories":{},"_nodeVersion":"24.13.1","dependencies":{"@accesslint/core":"^0.6.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.0","happy-dom":"^20.6.1","typescript":"^5.7.0"},"peerDependencies":{"vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest_0.1.0_1771297444825_0.2778536327406227","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@accesslint/vitest","version":"0.1.3","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"license":"MIT","_id":"@accesslint/vitest@0.1.3","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"homepage":"https://github.com/AccessLint/vitest#readme","bugs":{"url":"https://github.com/AccessLint/vitest/issues"},"dist":{"shasum":"f73dd53e8bc50fee24ef669f7acffbc6c187567c","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.1.3.tgz","fileCount":12,"integrity":"sha512-GHxuzVqFf/HYrWQvXxLBZJZH/ifWIoWfVwyQBOcyxEBYHyB4jlxUKp/dP0rGURerqaqyLwrgp28+MyR6Eo/Eag==","signatures":[{"sig":"MEUCIHreWM4bWBw8C0oQFRWl0WAxfE+H1MXgaCXvlY2xxncWAiEAyGV5IjZu09JbAc3GrOOIfEKvugte33vZAmHnrHIujLk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accesslint%2fvitest@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13571},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./matchers":{"types":"./dist/matchers.d.ts","import":"./dist/matchers.js","require":"./dist/matchers.cjs"}},"gitHead":"d47e61f399b5a3d8f4d9892ca12280b72d821ca0","scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:96d27d23-196a-4773-b16e-8fde2774da33"}},"repository":{"url":"git+https://github.com/AccessLint/vitest.git","type":"git"},"_npmVersion":"11.10.0","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@accesslint/core":"^0.6.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.0","happy-dom":"^20.6.1","typescript":"^5.7.0"},"peerDependencies":{"vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest_0.1.3_1771298188218_0.947013506771528","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@accesslint/vitest","version":"0.1.4","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"license":"MIT","_id":"@accesslint/vitest@0.1.4","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"homepage":"https://github.com/AccessLint/vitest#readme","bugs":{"url":"https://github.com/AccessLint/vitest/issues"},"dist":{"shasum":"5a0eefbea95b9a60314efb722e421726aa79faab","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.1.4.tgz","fileCount":12,"integrity":"sha512-HPdwbP1wwU5HiJz/U2yCQBBX21Ednl9Na6ONpqe4ouP6irLY8IRsJ/T0NA9Zzd0iZYoXk3uvKc5SrdQHuHoihg==","signatures":[{"sig":"MEUCIQDr58JSlbu9mZRcRhfaIIotoIrnDLhCnn1cRLx+NBuMEAIgPqiuhew2bInv+rkzvUx1M4fzBGv/sc+IvdRAyo4WihA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accesslint%2fvitest@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13819},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./matchers":{"types":"./dist/matchers.d.ts","import":"./dist/matchers.js","require":"./dist/matchers.cjs"}},"gitHead":"d36d5823a237929cd6b2a70731cd420181d832f1","scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:96d27d23-196a-4773-b16e-8fde2774da33"}},"repository":{"url":"git+https://github.com/AccessLint/vitest.git","type":"git"},"_npmVersion":"11.10.0","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@accesslint/core":"^0.6.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.0","happy-dom":"^20.6.1","typescript":"^5.7.0"},"peerDependencies":{"vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest_0.1.4_1771356041011_0.053270121209515464","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@accesslint/vitest","version":"0.1.5","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"license":"MIT","_id":"@accesslint/vitest@0.1.5","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"homepage":"https://github.com/AccessLint/vitest#readme","bugs":{"url":"https://github.com/AccessLint/vitest/issues"},"dist":{"shasum":"9551a269bc8174404ff80aae6c1b53ff2b06101b","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.1.5.tgz","fileCount":12,"integrity":"sha512-zQoC0ZtrmNEF815GSUCBVkuy5MDVwtfE+j3yHeEmjLCBoqOk1G5YtJ+CFxSLsRHXSVkuWYW7ibegibvzBSK8KQ==","signatures":[{"sig":"MEYCIQDc6GDcNyRMjGZThFj0UAmHh13436bXlJT9hD9QIyCYcQIhAMLsjuJ7xS5RAGXeHsybMUyMLMquXtxqmZxLkBpJvO5D","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accesslint%2fvitest@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13819},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./matchers":{"types":"./dist/matchers.d.ts","import":"./dist/matchers.js","require":"./dist/matchers.cjs"}},"gitHead":"94807708d0f3b6864539bf123f2971fed5085bda","scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:96d27d23-196a-4773-b16e-8fde2774da33"}},"repository":{"url":"git+https://github.com/AccessLint/vitest.git","type":"git"},"_npmVersion":"11.10.0","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@accesslint/core":"^0.6.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.0","happy-dom":"^20.6.1","typescript":"^5.7.0"},"peerDependencies":{"vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest_0.1.5_1771378751694_0.13331922169598487","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@accesslint/vitest","version":"0.1.6","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"license":"MIT","_id":"@accesslint/vitest@0.1.6","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"homepage":"https://github.com/AccessLint/vitest#readme","bugs":{"url":"https://github.com/AccessLint/vitest/issues"},"dist":{"shasum":"3ca7916a0c2dd47344bc28a650046ef08e7e9727","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.1.6.tgz","fileCount":12,"integrity":"sha512-uc2VXgNVPsUj6hHJWaYE1T+2lmH7/cgCsMJn5TBLmy8j/uHkqaTun8ry8ugcFe4P53CLXH0F6+jE/XiH5aWIqA==","signatures":[{"sig":"MEUCIQD6ZXLLOGlMaGgr1iUQiJtH6KtsiVp9/Jf9ccSXg9uhDQIgDY4YsZbI7n8dVMoCQ209iWo94I9n+s0IkR0+9bbPb+o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accesslint%2fvitest@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13841},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./matchers":{"types":"./dist/matchers.d.ts","import":"./dist/matchers.js","require":"./dist/matchers.cjs"}},"gitHead":"7a256e34a4aa5adb732dbe368ebd6072c9bd7bc5","scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:96d27d23-196a-4773-b16e-8fde2774da33"}},"repository":{"url":"git+https://github.com/AccessLint/vitest.git","type":"git"},"_npmVersion":"11.10.1","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@accesslint/core":"^0.6.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.0","happy-dom":"^20.6.1","typescript":"^5.7.0"},"peerDependencies":{"vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest_0.1.6_1771548294779_0.016757306127735738","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@accesslint/vitest","version":"0.1.7","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"license":"MIT","_id":"@accesslint/vitest@0.1.7","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"homepage":"https://github.com/AccessLint/vitest#readme","bugs":{"url":"https://github.com/AccessLint/vitest/issues"},"dist":{"shasum":"e288d5282fb91ddbcbbb17fa7b5ab2214da8417f","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.1.7.tgz","fileCount":12,"integrity":"sha512-jEOAMcPaU3QabKA2PATfXVcI9ZL2yrP3wQ2IvCHlNyvgOlAzo0VH/sdtV1wpRIJ5t2z7CTyPP01eKVRJ9XCL0A==","signatures":[{"sig":"MEUCIDJW7dqYoqp499/zEoi92jjip3Zq2Zhvd4FKaoysva6gAiEA8P761Gr6VjHfsDGOFaoQD817jpXPu5fJe6LFWAjFFzg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accesslint%2fvitest@0.1.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13841},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./matchers":{"types":"./dist/matchers.d.ts","import":"./dist/matchers.js","require":"./dist/matchers.cjs"}},"gitHead":"bad1760ade30ab5518cca896d609b3a10a547391","scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:96d27d23-196a-4773-b16e-8fde2774da33"}},"repository":{"url":"git+https://github.com/AccessLint/vitest.git","type":"git"},"_npmVersion":"11.10.1","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@accesslint/core":"^0.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.0","happy-dom":"^20.6.1","typescript":"^5.7.0"},"peerDependencies":{"vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest_0.1.7_1771790809258_0.4299887724979301","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@accesslint/vitest","version":"0.1.8","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"license":"MIT","_id":"@accesslint/vitest@0.1.8","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"homepage":"https://github.com/AccessLint/vitest#readme","bugs":{"url":"https://github.com/AccessLint/vitest/issues"},"dist":{"shasum":"123a2991b123d0ca9053f1d987d0b855edb75ed1","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.1.8.tgz","fileCount":12,"integrity":"sha512-ZQUdIVa9TBxyTFtLgiPaU3RTPeLCp1iIbVpT82ceg63e7Sm1JnmV/yb+u+Mzcaftkt7Cu67NurfpE9Qb2KgGvg==","signatures":[{"sig":"MEYCIQCq/DQuhFrqOx869quFdulL8DJv/p57GitKlqDIjkZ92wIhAKgL8y+In6Xdg3HY9b/25yNvaa5ztpFjW3wEqL7mPdA9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accesslint%2fvitest@0.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13841},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./matchers":{"types":"./dist/matchers.d.ts","import":"./dist/matchers.js","require":"./dist/matchers.cjs"}},"gitHead":"18f0c85270b558757bc1a955b910c5b1d4020842","scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:96d27d23-196a-4773-b16e-8fde2774da33"}},"repository":{"url":"git+https://github.com/AccessLint/vitest.git","type":"git"},"_npmVersion":"11.10.1","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@accesslint/core":"^0.8.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.0","happy-dom":"^20.6.1","typescript":"^5.7.0"},"peerDependencies":{"vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest_0.1.8_1771977023235_0.8593893327668476","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@accesslint/vitest","version":"0.1.9","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"license":"MIT","_id":"@accesslint/vitest@0.1.9","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"homepage":"https://github.com/AccessLint/vitest#readme","bugs":{"url":"https://github.com/AccessLint/vitest/issues"},"dist":{"shasum":"7c52afa7a92c198e14b5213e57cc788aa31b64f3","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.1.9.tgz","fileCount":12,"integrity":"sha512-Hm+6T2MtJ1xY1yf7WrQM+nooxtFdiI+KY1IVzHi7i+3VP+r1RYFo+4aR1Q75baQqi9KQz5y7YmxEZ3gYRPihwA==","signatures":[{"sig":"MEQCIEyxdp2NyBmt8jqq/G7IQZZp7rbKvrzEcHpXV23NrFP8AiB3a+gA2p0HTKHD9a1ko7SOEpB2bc5oVJ3Ufn4WHXutWQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accesslint%2fvitest@0.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13841},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./matchers":{"types":"./dist/matchers.d.ts","import":"./dist/matchers.js","require":"./dist/matchers.cjs"}},"gitHead":"b70364f638d486dadd1de0d0638ca5b52a14aeb9","scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:96d27d23-196a-4773-b16e-8fde2774da33"}},"repository":{"url":"git+https://github.com/AccessLint/vitest.git","type":"git"},"_npmVersion":"11.11.0","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@accesslint/core":"^0.8.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.0","happy-dom":"^20.6.1","typescript":"^5.7.0"},"peerDependencies":{"vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest_0.1.9_1772061077868_0.7590228126421765","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@accesslint/vitest","version":"0.3.0","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"license":"MIT","_id":"@accesslint/vitest@0.3.0","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"homepage":"https://github.com/AccessLint/accesslint#readme","bugs":{"url":"https://github.com/AccessLint/accesslint/issues"},"dist":{"shasum":"42ce95f5aaa27d0d3f9ea9a9638216431ddf757a","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.3.0.tgz","fileCount":20,"integrity":"sha512-J132GBuGwM5mDKM2IKwJELBLAFieC+RqNmpHQ4FMnhlMfmhWDJnfg0nWYODPyq0RfeLxlmSykKytg04QFB8NBg==","signatures":[{"sig":"MEUCIGxVP7+xLP+iJ7V3na4Qr/CJt2dNkTAMoVsLtKJMhXdbAiEAtZpFDqnCcKHj7qGLtQHkZNQ+GciAsY73FuK+r2kLZgY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accesslint%2fvitest@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":41497},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./fixture":{"import":{"types":"./dist/fixture.d.ts","default":"./dist/fixture.js"},"require":{"types":"./dist/fixture.d.cts","default":"./dist/fixture.cjs"}},"./matchers":{"import":{"types":"./dist/matchers.d.ts","default":"./dist/matchers.js"},"require":{"types":"./dist/matchers.d.cts","default":"./dist/matchers.cjs"}}},"gitHead":"4bd8b23adaa23de4ecdeede18ecb275472dcde6f","scripts":{"test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3328ff8e-2d4a-45e4-829b-f3c104d60626"}},"repository":{"url":"git+https://github.com/AccessLint/accesslint.git","type":"git","directory":"vitest"},"_npmVersion":"11.11.0","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@accesslint/core":"0.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.21.9","vitest":"^3.0.0","happy-dom":"^20.6.1","typescript":"^5.7.0"},"peerDependencies":{"vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest_0.3.0_1776463467871_0.08068915288268275","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@accesslint/vitest","version":"0.3.1","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"license":"MIT","_id":"@accesslint/vitest@0.3.1","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"homepage":"https://github.com/AccessLint/accesslint#readme","bugs":{"url":"https://github.com/AccessLint/accesslint/issues"},"dist":{"shasum":"7950eb90f9ec45f89cee0ab488acc2fecb26fb4a","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.3.1.tgz","fileCount":20,"integrity":"sha512-Hmov4Rq7rW2ASlWaARinSk4O4ncq8GqS07VlzxxEHQdiOogBr08zUuSZXBo8iMAxKkwBVKS1Dxt3TRHwYy2lyQ==","signatures":[{"sig":"MEUCIQDRLRoGM+eJl/keAxQ58BMeOOaG4+CNKJolUCOkBztm6AIgeEvZKd6e5tAmBzChrWefO5WLDjOHilimjsQKQBrgyqs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accesslint%2fvitest@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":44499},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./fixture":{"import":{"types":"./dist/fixture.d.ts","default":"./dist/fixture.js"},"require":{"types":"./dist/fixture.d.cts","default":"./dist/fixture.cjs"}},"./matchers":{"import":{"types":"./dist/matchers.d.ts","default":"./dist/matchers.js"},"require":{"types":"./dist/matchers.d.cts","default":"./dist/matchers.cjs"}}},"gitHead":"2a2ae49b6169831f2601e6edd5f6068725cd9023","scripts":{"test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3328ff8e-2d4a-45e4-829b-f3c104d60626"}},"repository":{"url":"git+https://github.com/AccessLint/accesslint.git","type":"git","directory":"vitest"},"_npmVersion":"11.11.0","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@accesslint/core":"0.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.21.9","vitest":"^3.0.0","happy-dom":"^20.6.1","typescript":"^5.7.0","@accesslint/matchers-internal":"0.0.0"},"peerDependencies":{"vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest_0.3.1_1776480555137_0.883354609915866","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@accesslint/vitest","version":"0.3.2","description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/AccessLint/accesslint.git","directory":"vitest"},"bugs":{"url":"https://github.com/AccessLint/accesslint/issues"},"type":"module","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./matchers":{"import":{"types":"./dist/matchers.d.ts","default":"./dist/matchers.js"},"require":{"types":"./dist/matchers.d.cts","default":"./dist/matchers.cjs"}},"./fixture":{"import":{"types":"./dist/fixture.d.ts","default":"./dist/fixture.js"},"require":{"types":"./dist/fixture.d.cts","default":"./dist/fixture.cjs"}}},"main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","test":"vitest run","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"dependencies":{"@accesslint/core":"0.16.0"},"devDependencies":{"@accesslint/matchers-internal":"0.1.0","happy-dom":"^20.6.1","tsdown":"^0.21.9","typescript":"^5.7.0","vitest":"^3.0.0"},"peerDependencies":{"vitest":">=2.0.0"},"keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"gitHead":"f18ae2b41554aff519fb8bf243830054f2ec27c9","_id":"@accesslint/vitest@0.3.2","homepage":"https://github.com/AccessLint/accesslint#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-p/kmTI4MASmlGUWbUnVJQZbAZ0V5n0nlr4zdPBN4cDaq5ZG6Lj62q4Dn0Zrl8UVb7s2MK5Ae4bhsn3XT8FxIkA==","shasum":"8e97aa9363eb30dad744eb023a047d44117a68f9","tarball":"https://registry.npmjs.org/@accesslint/vitest/-/vitest-0.3.2.tgz","fileCount":20,"unpackedSize":84984,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accesslint%2fvitest@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCetvmhUWqw6k9F6BbUDHah0wUhtIoB9h6Qb8OF0KwOOQIgZS0JFVqTM2rIV1mqYJtaK1sffDiz4mDH7XjyG1yqDWo="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3328ff8e-2d4a-45e4-829b-f3c104d60626"}},"directories":{},"maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vitest_0.3.2_1785108917074_0.9051790023169761"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-17T03:04:04.729Z","modified":"2026-07-26T23:35:17.553Z","0.1.0":"2026-02-17T03:04:05.001Z","0.1.3":"2026-02-17T03:16:28.365Z","0.1.4":"2026-02-17T19:20:41.171Z","0.1.5":"2026-02-18T01:39:11.865Z","0.1.6":"2026-02-20T00:44:54.955Z","0.1.7":"2026-02-22T20:06:49.413Z","0.1.8":"2026-02-24T23:50:23.414Z","0.1.9":"2026-02-25T23:11:18.065Z","0.3.0":"2026-04-17T22:04:28.023Z","0.3.1":"2026-04-18T02:49:15.298Z","0.3.2":"2026-07-26T23:35:17.216Z"},"bugs":{"url":"https://github.com/AccessLint/accesslint/issues"},"license":"MIT","homepage":"https://github.com/AccessLint/accesslint#readme","keywords":["vitest","accessibility","a11y","wcag","aria","accesslint","matcher","testing"],"repository":{"type":"git","url":"git+https://github.com/AccessLint/accesslint.git","directory":"vitest"},"description":"Accessibility assertions for Vitest — toBeAccessible() matcher powered by AccessLint","maintainers":[{"name":"ckundo","email":"cameron@accesslint.com"}],"readme":"# @accesslint/vitest\n\nAccessibility assertions for Vitest. Adds a `toBeAccessible()` matcher powered by [AccessLint](https://www.accesslint.com?ref=readme_vitest) that checks for WCAG 2.2 Level A and AA violations.\n\n## Installation\n\n```sh\nnpm install --save-dev @accesslint/vitest\n```\n\n`vitest` >= 2.0 is required as a peer dependency.\n\n## Setup\n\nAdd `@accesslint/vitest` as a setup file in your Vitest config:\n\n```ts\n// vitest.config.ts\nimport { defineConfig } from \"vitest/config\";\n\nexport default defineConfig({\n  test: {\n    setupFiles: [\"@accesslint/vitest\"],\n  },\n});\n```\n\nThis automatically registers the `toBeAccessible()` matcher.\n\n### Manual registration\n\n```ts\nimport { accesslintMatchers } from \"@accesslint/vitest/matchers\";\nimport { expect } from \"vitest\";\n\nexpect.extend(accesslintMatchers);\n```\n\n## Usage\n\nPass any DOM `Element` to `expect()` and call `toBeAccessible()`:\n\n```ts\nconst container = document.createElement(\"div\");\ncontainer.innerHTML = '<img src=\"photo.jpg\" alt=\"A photo\">';\n\nexpect(container).toBeAccessible();\n```\n\nViolations are scoped to descendants of the element you pass, so you can test components in isolation. When the element is not the document root, page-level rules (`html-has-lang`, `document-title`, landmarks, etc.) are skipped automatically — override with `componentMode: false` if you want them back.\n\n## Framework recipes\n\nWorks with any DOM produced in a jsdom or happy-dom environment.\n\n### React — `@testing-library/react`\n\n```tsx\nimport { render } from \"@testing-library/react\";\nimport { LoginForm } from \"./LoginForm\";\n\ntest(\"LoginForm is accessible\", () => {\n  const { container } = render(<LoginForm />);\n  expect(container).toBeAccessible();\n});\n```\n\n### Vue — `@testing-library/vue`\n\n```ts\nimport { render } from \"@testing-library/vue\";\nimport LoginForm from \"./LoginForm.vue\";\n\ntest(\"LoginForm is accessible\", () => {\n  const { container } = render(LoginForm);\n  expect(container).toBeAccessible();\n});\n```\n\n### Svelte — `@testing-library/svelte`\n\n```ts\nimport { render } from \"@testing-library/svelte\";\nimport LoginForm from \"./LoginForm.svelte\";\n\ntest(\"LoginForm is accessible\", () => {\n  const { container } = render(LoginForm);\n  expect(container).toBeAccessible();\n});\n```\n\n### Angular — `@testing-library/angular`\n\n```ts\nimport { render } from \"@testing-library/angular\";\nimport { LoginFormComponent } from \"./login-form.component\";\n\ntest(\"LoginForm is accessible\", async () => {\n  const { container } = await render(LoginFormComponent);\n  expect(container).toBeAccessible();\n});\n```\n\nThe matcher accepts anything that's an `Element` — `container`, `screen.getByRole('form')`, a plain `document.createElement(...)`, or `document.body` for a full-page audit.\n\n## Options\n\n```ts\nexpect(container).toBeAccessible({\n  /** Rule IDs to disable for this assertion. */\n  disabledRules: [\"distinguishable/color-contrast\"],\n\n  /** Additional rules to run on top of the built-in set. */\n  additionalRules: [myCompiledDeclarativeRule],\n\n  /** Include AAA-level rules (excluded by default). */\n  includeAAA: true,\n\n  /** Skip page-level rules — defaults to true for non-root elements. */\n  componentMode: true,\n\n  /** Translated rule messages and guidance (e.g. \"en\", \"es\"). */\n  locale: \"es\",\n\n  /** Minimum impact that causes failure. \"minor\" (default) fails on anything. */\n  failOn: \"serious\",\n\n  /** Compare against a baseline instead of asserting zero violations. */\n  snapshot: \"login-form\",\n\n  /** Where to store snapshot files. Defaults to {cwd}/accessibility-snapshots/. */\n  snapshotDir: \"./test/a11y-snapshots\",\n});\n```\n\n### Failure messages\n\nFailures include impact, WCAG criterion, level, selector, optional context, suggested fix, and remediation guidance:\n\n```\nExpected element to have no accessibility violations, but found 2:\n\n  [critical] text-alternatives/img-alt (WCAG 1.1.1, A) — Images must have alternate text\n    selector: img\n    fix: add-attribute alt=\"\"\n    guidance: Decorative images should have alt=\"\"; informative images should describe content.\n\n  [serious] distinguishable/color-contrast (WCAG 1.4.3, AA) — Text must have sufficient color contrast\n    selector: p.subtitle\n```\n\n## Snapshot baselines\n\nLock in the current accessibility state of a component and fail only on **new** violations. Useful when adopting AccessLint in a legacy codebase.\n\n```ts\nexpect(container).toBeAccessible({ snapshot: \"login-form\" });\n```\n\n- **First run** creates `accessibility-snapshots/login-form.json` and passes.\n- **Subsequent runs** fail if any new violation appears beyond the baseline.\n- **Ratchet-down** — when only fixed violations are detected (none added), the baseline updates automatically.\n- **Force refresh** the baseline with `ACCESSLINT_UPDATE=1` or Vitest's `-u` / `--update` flag.\n\nViolation identity starts at `ruleId + selector` and falls back through a tiered multi-signal matcher powered by [`@accesslint/heal-diff`](../heal-diff):\n\n1. Exact selector match (fast path).\n2. Anchor attribute (`data-testid`, `id`, `name`, `href`, `for`, `aria-label`).\n3. Computed ARIA role + accessible name.\n4. HTML fingerprint (normalized outerHTML hash).\n5. Relative location (nearest landmark trail), uniqueness-gated.\n\nWhen a non-exact tier matches the baseline's selector auto-heals to the current one, the snapshot is rewritten, and a `\"healed\"` event is logged to `.history.ndjson`. The test still passes. When no tier matches but weaker signals overlap, the failure message attaches a `likely moved from:` hint so you can tell \"same issue, different selector\" from \"genuinely new issue\" at a glance.\n\n### Trend reports\n\nEvery create / ratchet-down / force-update event appends a record to `accessibility-snapshots/.history.ndjson` alongside the baseline JSON files. Generate a trend report from that history with [`@accesslint/report`](../report):\n\n```sh\nnpx @accesslint/report --format md > a11y-report.md\nnpx @accesslint/report --format html --out a11y-report.html\n```\n\nThe report shows a stacked chart of total violations per snapshot over time, plus a per-rule movement table that joins in WCAG metadata from `@accesslint/core`. The sidecar file is append-only and safe to commit; merge conflicts on it resolve trivially by concatenating both sides.\n\n## Audit memoization (opt-in fixture)\n\nBy default every `toBeAccessible()` call runs a fresh audit. For component tests that chain multiple assertions against the same DOM state, import the fixture to reuse one audit across assertions:\n\n```ts\nimport { test } from \"@accesslint/vitest/fixture\";\nimport { expect } from \"vitest\";\n\ntest(\"Form\", ({ a11y }) => {\n  render(<Form />);\n  a11y.refresh(); // snapshot current DOM state\n\n  // both assertions reuse one runAudit() call\n  expect(screen.getByRole(\"form\")).toBeAccessible();\n  expect(screen.getByRole(\"button\")).toBeAccessible();\n});\n```\n\nCall `a11y.refresh()` after any DOM mutation that should be re-audited.\n\n## TypeScript\n\nTypes are included. Importing the package augments Vitest's `expect` with `toBeAccessible()` automatically.\n\n## What it checks\n\nWCAG 2.2 Level A and AA rules via [`@accesslint/core`](../core), covering images, forms, ARIA attributes, color contrast, landmarks, links, tables, document language, and more. See the [core rules table](../core/README.md#rules) for the full list.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}