
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
jquery-screenreader-trap
Advanced tools
Prevents screen reader's virtual cursor from leaving the confines of an element
ATTENTION: A non-jQuery version is now available at makeup-screenreader-trap.
Prevents screen reader's virtual cursor from leaving the confines of a containing element.
Screenreader-trap is a singleton as there can only ever be one active screenreader-trap on a page. Creating a new screenreader-trap will disable the current trap.
$.trapScreenreader($containerEl);
$.untrapScreenreader();
npm install jquery-screenreader-trap
Run npm start for test driven development. All tests are located in test.js.
Execute npm run to view all available CLI scripts:
npm start test driven development: watches code and re-tests after any changenpm test runs tests & generates reports (see reports section below)npm run lint lints code for syntax and stylenpm run fix attempts to auto fix style errorsnpm run minify builds minified version of codenpm run jsdoc generates jsdocsnpm run build minifies code and generates jsdocsnpm run clean deletes all generated filesThe following hooks exist, and do not need to be invoked manually:
npm prepublish cleans, lints, tests and builds on every npm publish commandpre-commit cleans, lints, tests and builds on every git commit commandEach test run will generate the following reports:
/test_reports/coverage contains Istanbul code coverage report/test_reports/html contains HTML test report/test_reports/junit contains JUnit test reportJSDocs are generated under ./jsdoc folder.
https://travis-ci.org/makeup-jquery/jquery-screenreader-trap
https://coveralls.io/github/makeup-jquery/jquery-screenreader-trap?branch=master
FAQs
Prevents screen reader's virtual cursor from leaving the confines of an element
The npm package jquery-screenreader-trap receives a total of 125 weekly downloads. As such, jquery-screenreader-trap popularity was classified as not popular.
We found that jquery-screenreader-trap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.