{"_id":"@a11y-oracle/keyboard-engine","_rev":"10-1aaceee7d8bc0178d98d0d4d14bf4e10","name":"@a11y-oracle/keyboard-engine","dist-tags":{"latest":"1.3.2"},"versions":{"1.0.0":{"name":"@a11y-oracle/keyboard-engine","version":"1.0.0","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"author":{"name":"a11y-oracle"},"license":"MIT","_id":"@a11y-oracle/keyboard-engine@1.0.0","maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"dist":{"shasum":"4d77681f60f9cb243672aa56a300b7096961c0b4","tarball":"https://registry.npmjs.org/@a11y-oracle/keyboard-engine/-/keyboard-engine-1.0.0.tgz","fileCount":14,"integrity":"sha512-tEf3xzQfbODTv0q/hf3Q9Q20pRolG/rXSBBX1iSpizyykck4rmfXnt/sjM6bvsyOM7VbLlCvFcL1+BvjtCN0Jw==","signatures":[{"sig":"MEYCIQDIZCMhnkL9E5925cQqk7MYfUtPt2jRgmgN+bVCIWUblAIhAPqfar5rzSAwfGjUCQ6lCoZCXlUfLTMysZx/WPNlDd8A","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19659},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"04ad8c1a2a9a6335892d5c992fcfa209e6a7bb6f","_npmUser":{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"},"repository":{"url":"git+https://github.com/a11y-oracle/a11y-oracle.git","type":"git","directory":"libs/keyboard-engine"},"_npmVersion":"11.6.0","description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","directories":{},"_nodeVersion":"24.10.0","dependencies":{"tslib":"^2.3.0","devtools-protocol":"^0.0.1591961","@a11y-oracle/cdp-types":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/keyboard-engine_1.0.0_1772652301256_0.2390352082150642","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@a11y-oracle/keyboard-engine","version":"1.1.0","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"author":{"name":"a11y-oracle"},"license":"MIT","_id":"@a11y-oracle/keyboard-engine@1.1.0","maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"dist":{"shasum":"8d001554bef51d07f0fbacd055e4047ba8d2952f","tarball":"https://registry.npmjs.org/@a11y-oracle/keyboard-engine/-/keyboard-engine-1.1.0.tgz","fileCount":14,"integrity":"sha512-imuaIFS/j6Ify+ODv6OZ6A79mNUtVRoMHAKX7cvBQ364IJsa5EzjpvnuKO1wEXKQhkSm+l/aXAYimOTRajU8dg==","signatures":[{"sig":"MEQCIF5qUlGomDoqkl3h4Eoja7xI6M0f6yScsD/uUWqFe6s8AiBU+Vw3U60xef1Yul9nCGaz/G/WUIl3Q47pPoqIxVU9Iw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19659},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"47a95777878b177bbe3fc88cb760a2b295296555","_npmUser":{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"},"repository":{"url":"git+https://github.com/a11y-oracle/a11y-oracle.git","type":"git","directory":"libs/keyboard-engine"},"_npmVersion":"11.6.0","description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","directories":{},"_nodeVersion":"24.10.0","dependencies":{"tslib":"^2.3.0","devtools-protocol":"^0.0.1591961","@a11y-oracle/cdp-types":"1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/keyboard-engine_1.1.0_1772686072232_0.7773574703715656","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@a11y-oracle/keyboard-engine","version":"1.1.1","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"author":{"name":"a11y-oracle"},"license":"MIT","_id":"@a11y-oracle/keyboard-engine@1.1.1","maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"dist":{"shasum":"6bf5c2d5a1c84e19db0b2f6265e683b62509fad5","tarball":"https://registry.npmjs.org/@a11y-oracle/keyboard-engine/-/keyboard-engine-1.1.1.tgz","fileCount":14,"integrity":"sha512-ktC3TGO5UfKUanQA1N1xsIe4IMnDHa3rSrMevU50fOdh9LLRL3lp/Xpz/SH+K/IKY4zXRM1IbRK/6L4ATE/TsA==","signatures":[{"sig":"MEYCIQCyveq+FDCov8WqIg/yduhLaKP2L7Wl9FiM+o+Zca6EUwIhAKbHt9TG0AZ0KZfE0YDaM5/l+Tj9mdTr6hNurSahNpw+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19659},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"555a54f42e89930cf78efd3b4d47055f8a9ca62e","_npmUser":{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"},"repository":{"url":"git+https://github.com/a11y-oracle/a11y-oracle.git","type":"git","directory":"libs/keyboard-engine"},"_npmVersion":"11.6.0","description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","directories":{},"_nodeVersion":"24.10.0","dependencies":{"tslib":"^2.3.0","devtools-protocol":"^0.0.1591961","@a11y-oracle/cdp-types":"1.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/keyboard-engine_1.1.1_1772690055106_0.02371947710519251","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@a11y-oracle/keyboard-engine","version":"1.1.2","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"author":{"name":"a11y-oracle"},"license":"MIT","_id":"@a11y-oracle/keyboard-engine@1.1.2","maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"dist":{"shasum":"5226e32a0e3726a2bdf8d099540d8dbb9f3a7cff","tarball":"https://registry.npmjs.org/@a11y-oracle/keyboard-engine/-/keyboard-engine-1.1.2.tgz","fileCount":14,"integrity":"sha512-KzlA7UUBGGrafdKiSflASsxApWKDxI/5Vdd9fkaqZPrGHfUjmQEmAFm9FVJIyIFdC2vmaAXTS5frTlDS/64g9w==","signatures":[{"sig":"MEUCIQD7ItzKlghF0ZPX4XXl9jkCm/QV+Q0WrM7VCgMCBGwhFQIgIllb4K6x1AWg53d8Ac/en0AQQ1HTCfQerklNGe6aa/4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19659},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"0e3e6b7fb933fe4ec494e85abe5c056eff06eaef","_npmUser":{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"},"repository":{"url":"git+https://github.com/a11y-oracle/a11y-oracle.git","type":"git","directory":"libs/keyboard-engine"},"_npmVersion":"11.6.0","description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","directories":{},"_nodeVersion":"24.10.0","dependencies":{"tslib":"^2.3.0","devtools-protocol":"^0.0.1591961","@a11y-oracle/cdp-types":"1.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/keyboard-engine_1.1.2_1772725929019_0.4711111048169965","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@a11y-oracle/keyboard-engine","version":"1.1.3","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"author":{"name":"a11y-oracle"},"license":"MIT","_id":"@a11y-oracle/keyboard-engine@1.1.3","maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"dist":{"shasum":"d7d32e8c963968dfda453dbabd6dbc3b318fb13b","tarball":"https://registry.npmjs.org/@a11y-oracle/keyboard-engine/-/keyboard-engine-1.1.3.tgz","fileCount":14,"integrity":"sha512-BflCIXeH1XVbG6sWBsvux45JL7LBW4W6esqkssM3imdeYnoPoLByYfq+VymPCS7+cQceC0IehOe5j55PCWBP+w==","signatures":[{"sig":"MEUCIH1/z2TAr66LHlCrFpBKo5yDbzThQScx7QVuuLFAd1TcAiEAveRoUFfmSsw4pTkMgsrwKfaw+cdwBq2ebOmk8BIYEJ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19659},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"3fb17cb54b310cb99259d6b25de170f2a09c22f9","_npmUser":{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"},"repository":{"url":"git+https://github.com/a11y-oracle/a11y-oracle.git","type":"git","directory":"libs/keyboard-engine"},"_npmVersion":"11.6.0","description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","directories":{},"_nodeVersion":"24.10.0","dependencies":{"tslib":"^2.3.0","devtools-protocol":"^0.0.1591961","@a11y-oracle/cdp-types":"1.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/keyboard-engine_1.1.3_1772729078044_0.9239420654767219","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@a11y-oracle/keyboard-engine","version":"1.1.4","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"author":{"name":"a11y-oracle"},"license":"MIT","_id":"@a11y-oracle/keyboard-engine@1.1.4","maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"dist":{"shasum":"998c182d590f007b16edc915619f987ae49a029f","tarball":"https://registry.npmjs.org/@a11y-oracle/keyboard-engine/-/keyboard-engine-1.1.4.tgz","fileCount":14,"integrity":"sha512-0D0PRpJRo7KJTThlPOyxQJ6aRxDOS8vhsqlTN2dXTaVuY5x9HMIp3gl8FTvwx0cPXkvbzOHyEkGygiJUUR8gig==","signatures":[{"sig":"MEQCIAWIUnjsgwqzuiv3D/Yjpe1uTHy+8eSWrHIFvvFyCHVYAiBnLK/mA1uE9UcZRujeFEd14ukb2sR9/WGvb1gl1Za6ZA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19659},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"2e2f62c8fd8a54c1bb0f9b709647ff4fe8557c27","_npmUser":{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"},"repository":{"url":"git+https://github.com/a11y-oracle/a11y-oracle.git","type":"git","directory":"libs/keyboard-engine"},"_npmVersion":"11.6.0","description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","directories":{},"_nodeVersion":"24.10.0","dependencies":{"tslib":"^2.3.0","devtools-protocol":"^0.0.1591961","@a11y-oracle/cdp-types":"1.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/keyboard-engine_1.1.4_1772745605213_0.28005487779842353","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@a11y-oracle/keyboard-engine","version":"1.2.0","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"author":{"name":"a11y-oracle"},"license":"MIT","_id":"@a11y-oracle/keyboard-engine@1.2.0","maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"dist":{"shasum":"033d7c7ac26b5435dbde23d387811511eaa6daae","tarball":"https://registry.npmjs.org/@a11y-oracle/keyboard-engine/-/keyboard-engine-1.2.0.tgz","fileCount":14,"integrity":"sha512-tcs5cfro1NnbFpCk+aGDkof0NwMxNdbfJXyWy4/sbI/HosxQfLwUO/U2yxarmawIPsGhvJcbwvjPjp4x3uWypw==","signatures":[{"sig":"MEUCIQDLhEd4wy8m9oDyOo0CvH+cT2McVq4M/NwYKwB5+5eykwIgEl9bSD7UHhg+h9N4Ph2TUKs95dOiTG8H5bi55ufYDmU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19659},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"43adb7fc2be7245cbb136e07b24200d68cba1744","_npmUser":{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"},"repository":{"url":"git+https://github.com/a11y-oracle/a11y-oracle.git","type":"git","directory":"libs/keyboard-engine"},"_npmVersion":"11.6.0","description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","directories":{},"_nodeVersion":"24.10.0","dependencies":{"tslib":"^2.3.0","devtools-protocol":"^0.0.1591961","@a11y-oracle/cdp-types":"1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/keyboard-engine_1.2.0_1772753717296_0.21063768389634752","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@a11y-oracle/keyboard-engine","version":"1.3.0","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"author":{"name":"a11y-oracle"},"license":"MIT","_id":"@a11y-oracle/keyboard-engine@1.3.0","maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"dist":{"shasum":"d5102071929b92a55a8e687d0c18beaddae2c91b","tarball":"https://registry.npmjs.org/@a11y-oracle/keyboard-engine/-/keyboard-engine-1.3.0.tgz","fileCount":14,"integrity":"sha512-GH4aJ4VYlBovQtMkSg+jLXR9L0RV3XocVLBRhSQHTqw7/37zugo0t7gxOqN5KOnf1YbbwEOpDtiJBEO0jPTtKQ==","signatures":[{"sig":"MEYCIQCXfYFbI0EgcrBIoEgaWb6WqelxOsfnhXLOAlhZ0TkIBQIhANM/rbyzrxL7QL6Fr++bXlZTYNz/xfpWjvVCsR45jwdi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19659},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"4295fc44cee8a657989d667355836590231cf754","_npmUser":{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"},"repository":{"url":"git+https://github.com/a11y-oracle/a11y-oracle.git","type":"git","directory":"libs/keyboard-engine"},"_npmVersion":"11.6.0","description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","directories":{},"_nodeVersion":"24.10.0","dependencies":{"tslib":"^2.3.0","devtools-protocol":"^0.0.1591961","@a11y-oracle/cdp-types":"1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/keyboard-engine_1.3.0_1772769819703_0.9131262050680073","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@a11y-oracle/keyboard-engine","version":"1.3.1","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"author":{"name":"a11y-oracle"},"license":"MIT","_id":"@a11y-oracle/keyboard-engine@1.3.1","maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"dist":{"shasum":"5af16b2453db31fe1afc750727c335d34261e5a0","tarball":"https://registry.npmjs.org/@a11y-oracle/keyboard-engine/-/keyboard-engine-1.3.1.tgz","fileCount":14,"integrity":"sha512-60XN2A3declveNyhEKPp+bVSJdUGGkA2RjTAghgq2txsGxrfqU/JpeAD9CdrpRv/CPn6PV0c+oUw3gij7SrZ3Q==","signatures":[{"sig":"MEQCIEpVhZF7QrbH1OctvsQsiiBZ3gyBY/eHXqXJOyS5GWx+AiABVT0zLuGlwK5ywqGr/Ze7GV016aSJPsuDHI8P/VoHGw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19659},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"1cdf8cb41af6392ea299d37eed4bf536788a802f","_npmUser":{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"},"repository":{"url":"git+https://github.com/a11y-oracle/a11y-oracle.git","type":"git","directory":"libs/keyboard-engine"},"_npmVersion":"11.6.0","description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","directories":{},"_nodeVersion":"24.10.0","dependencies":{"tslib":"^2.3.0","devtools-protocol":"^0.0.1591961","@a11y-oracle/cdp-types":"1.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/keyboard-engine_1.3.1_1773187232575_0.0751995965853911","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@a11y-oracle/keyboard-engine","version":"1.3.2","description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","license":"MIT","author":{"name":"a11y-oracle"},"repository":{"type":"git","url":"git+https://github.com/a11y-oracle/a11y-oracle.git","directory":"libs/keyboard-engine"},"bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"dependencies":{"@a11y-oracle/cdp-types":"1.3.2","devtools-protocol":"^0.0.1591961","tslib":"^2.3.0"},"_id":"@a11y-oracle/keyboard-engine@1.3.2","gitHead":"58b2a6611a5150328c96c3d8695e0b14bc5d2d27","_nodeVersion":"24.10.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-0TnWaHRHkGcwRu1RQfwTCqtyXCLicsy2zu3P3/HmQ2/7RF4qhecydldDQPYE6mZVjRyKIghH8elt1b8na6Wp6g==","shasum":"5e7dcdf5bb3c5a4ce1ec79ef8cfb6ab434ec85cc","tarball":"https://registry.npmjs.org/@a11y-oracle/keyboard-engine/-/keyboard-engine-1.3.2.tgz","fileCount":14,"unpackedSize":19659,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCzvqJe6GnB2Gj9JsA2fTrsuxazRl4/p/BzL7Hvbu4J7wIgBZ56CAKbw9Kmk+ngSWhAisuEHtIAGWm1yzw87fAQYYA="}]},"_npmUser":{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"},"directories":{},"maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/keyboard-engine_1.3.2_1773294435103_0.11342469553779533"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-04T19:25:01.185Z","modified":"2026-03-12T05:47:15.402Z","1.0.0":"2026-03-04T19:25:01.405Z","1.1.0":"2026-03-05T04:47:52.389Z","1.1.1":"2026-03-05T05:54:15.265Z","1.1.2":"2026-03-05T15:52:09.160Z","1.1.3":"2026-03-05T16:44:38.178Z","1.1.4":"2026-03-05T21:20:05.412Z","1.2.0":"2026-03-05T23:35:17.464Z","1.3.0":"2026-03-06T04:03:39.848Z","1.3.1":"2026-03-11T00:00:32.725Z","1.3.2":"2026-03-12T05:47:15.252Z"},"bugs":{"url":"https://github.com/a11y-oracle/a11y-oracle/issues"},"author":{"name":"a11y-oracle"},"license":"MIT","homepage":"https://github.com/a11y-oracle/a11y-oracle/tree/main/libs/keyboard-engine","keywords":["accessibility","a11y","keyboard","cdp","chrome-devtools-protocol","wcag","testing"],"repository":{"type":"git","url":"git+https://github.com/a11y-oracle/a11y-oracle.git","directory":"libs/keyboard-engine"},"description":"Native CDP keyboard dispatch with modifier key support and focused element introspection","maintainers":[{"name":"pjlamb12","email":"preston.j.lamb@gmail.com"}],"readme":"# @a11y-oracle/keyboard-engine\n\nCDP-based keyboard dispatch engine for accessibility testing. Sends native hardware-level keystrokes via `Input.dispatchKeyEvent` and reads focused element information via `Runtime.evaluate`.\n\nThis is a low-level building block used internally by `@a11y-oracle/core-engine`. Most users should use the Playwright or Cypress plugin instead.\n\n## Installation\n\n```bash\nnpm install @a11y-oracle/keyboard-engine\n```\n\n## Usage\n\n```typescript\nimport { KeyboardEngine } from '@a11y-oracle/keyboard-engine';\n\nconst keyboard = new KeyboardEngine(cdpSession);\n\n// Press a key\nawait keyboard.press('Tab');\n\n// Press with modifiers\nawait keyboard.press('Tab', { shift: true });   // Shift+Tab (backward)\nawait keyboard.press('a', { ctrl: true });       // Ctrl+A (select all)\n\n// Get info about the currently focused element\nconst el = await keyboard.getFocusedElement();\nif (el) {\n  console.log(el.tag);      // \"BUTTON\"\n  console.log(el.id);       // \"submit-btn\"\n  console.log(el.role);     // \"button\"\n  console.log(el.tabIndex); // 0\n  console.log(el.rect);     // { x: 100, y: 200, width: 120, height: 40 }\n}\n```\n\n## API Reference\n\n### `KeyboardEngine`\n\n#### `constructor(cdp: CDPSessionLike)`\n\nCreate a new keyboard engine.\n\n- `cdp` — Any object with a `send(method, params?)` method compatible with CDP.\n\n#### `press(key: string, modifiers?: ModifierKeys): Promise<void>`\n\nDispatch a native key press via CDP `Input.dispatchKeyEvent`. Sends a `keyDown` event followed by a `keyUp` event, matching the behavior of a physical key press.\n\n- `key` — Key name from `KEY_DEFINITIONS` (see table below).\n- `modifiers` — Optional modifier keys to hold during the press.\n\nModifier keys map to the CDP bitmask: Alt = 1, Ctrl = 2, Meta = 4, Shift = 8.\n\nThrows if the key name is not in `KEY_DEFINITIONS`.\n\n#### `getFocusedElement(): Promise<FocusedElementInfo | null>`\n\nGet information about the currently focused DOM element via `Runtime.evaluate`.\n\nReturns `null` if no interactive element has focus (e.g., `document.body` or `document.documentElement` is focused).\n\n### Supported Keys\n\n| Key Name | Description |\n|----------|-------------|\n| `Tab` | Tab navigation |\n| `Enter` | Activate / submit |\n| `Space` or `' '` | Activate / toggle |\n| `Escape` | Cancel / close |\n| `ArrowUp` | Navigate up |\n| `ArrowDown` | Navigate down |\n| `ArrowLeft` | Navigate left |\n| `ArrowRight` | Navigate right |\n| `Home` | Jump to start |\n| `End` | Jump to end |\n| `Backspace` | Delete backward |\n| `Delete` | Delete forward |\n\n### Types\n\n#### `KeyDefinition`\n\nCDP keyboard event parameters for a single key:\n\n```typescript\ninterface KeyDefinition {\n  key: string;     // CDP key property (e.g. \"Tab\")\n  code: string;    // CDP code property (e.g. \"Tab\")\n  keyCode: number; // Windows virtual key code (e.g. 9)\n}\n```\n\n#### `ModifierKeys`\n\nModifier keys for key press combinations:\n\n```typescript\ninterface ModifierKeys {\n  shift?: boolean;\n  ctrl?: boolean;\n  alt?: boolean;\n  meta?: boolean;\n}\n```\n\n#### `FocusedElementInfo`\n\nInformation about the currently focused DOM element:\n\n```typescript\ninterface FocusedElementInfo {\n  tag: string;        // \"BUTTON\"\n  id: string;         // \"submit-btn\"\n  className: string;  // \"btn primary\"\n  textContent: string; // \"Submit\"\n  role: string;       // \"button\" (from role attribute)\n  ariaLabel: string;  // \"Submit form\" (from aria-label)\n  tabIndex: number;   // 0\n  rect: { x: number; y: number; width: number; height: number };\n}\n```\n\n## Exports\n\n```typescript\nexport { KeyboardEngine } from '@a11y-oracle/keyboard-engine';\nexport { KEY_DEFINITIONS } from '@a11y-oracle/keyboard-engine';\nexport type {\n  KeyDefinition,\n  ModifierKeys,\n  FocusedElementInfo,\n} from '@a11y-oracle/keyboard-engine';\n```\n\n## How It Works\n\nThe engine uses two CDP domains:\n\n1. **`Input.dispatchKeyEvent`** — Sends real hardware-level keystroke events (keyDown + keyUp) directly to the browser. This bypasses synthetic JavaScript event dispatch (`element.dispatchEvent()`), so the browser handles focus management natively — just as if a user physically pressed the key.\n\n2. **`Runtime.evaluate`** — Executes a JavaScript expression in the page context to read `document.activeElement` properties (tag, id, class, role, aria-label, tabIndex, bounding rect).\n","readmeFilename":"README.md"}