
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
cypress-tab-until
Advanced tools
Cypress keyboard only tests
npm i -D cypress-tab-until
# or
yarn add -D cypress-tab-until
cypress-tab-until
extends the cy
command.
Add the following to your project's cypress/support/commands.js
:
import 'cypress-tab-until';
You can then start writing tests that just use the keyboard
cy.tabUntil({ accessibleTextIs: 'Username' });
cy.focused().type('some-username');
cy.tabUntil({accessibleTextIs: 'Password'}});
cy.focused().type('some-password');
cy.tabUntil({accessibleTextIs: 'Something up the page', direction: 'backwards'});
The accessible text for an element is calculated by fetching the node from the Accessibility Tree (using getPartialTree
) and looking at the names within that node.
This means that the following all have the same accessible text:
<a href="#">Something</a>
<button>Something</a>
<input aria-label="Something">
This pushes us as developers to write tests that must consider the content being surfaced to a screen reader.
FAQs
Cypress keyboard accessibility tests
The npm package cypress-tab-until receives a total of 3 weekly downloads. As such, cypress-tab-until popularity was classified as not popular.
We found that cypress-tab-until 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
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.