Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement .tab() for checking keyboard accessibility #852

Closed
Graham42 opened this issue Oct 30, 2017 · 2 comments
Closed

Implement .tab() for checking keyboard accessibility #852

Graham42 opened this issue Oct 30, 2017 · 2 comments
Labels
type: duplicate This issue or pull request already exists

Comments

@Graham42
Copy link
Contributor

  • Operating System: Ubuntu 16.04
  • Cypress Version: 1.0.3
  • Browser Version: Google Chrome 62.0.3202.75

Is this a Feature or Bug?

Feature

Current behavior:

cy.focused().type('{tab}'); fails with error

CypressError: {tab} isn't a supported character sequence. You'll want to use the command cy.tab(), which is not ready yet, but when it is done that's what you'll use.

Desired behavior:

To navigate elements using .tab()

How to reproduce:

Test code:

  1. Clone https://github.com/Graham42/test-case-cypress-tabbing
  2. In one terminal run npm run start
  3. In a second terminal run npm run test to open cypress
  4. Choose the tabbing_spec.js suite

Additional Info (images, stack traces, etc)

This feature is important in order to test forms for keyboard accessibility.

@jennifer-shehane
Copy link
Member

Thanks for providing a reproducible example! I am closing this and referencing it as duplicate of #299.

Luckily the issue described in the initial issue should no longer be the case with Chrome, so this is now more possible than before.

There is an open issue in Chromium to add multiplexing support so we've been waiting for that to go live.

@Graham42
Copy link
Contributor Author

ah sorry, did a search and didn't find that one.

@jennifer-shehane jennifer-shehane added the type: duplicate This issue or pull request already exists label Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants