We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
skip-to-list
1 parent 50a0683 commit 272de10Copy full SHA for 272de10
tests/e2e/integration/skip-to-list.js
@@ -1,4 +1,4 @@
1
-describe('skip-link list', () => {
+describe('Skip link list', () => {
2
beforeEach(() => {
3
cy.visit('/skip-to-list.html')
4
})
@@ -8,4 +8,14 @@ describe('skip-link list', () => {
8
.get('[data-vst="skip-to-list"]')
9
.should('contain', 'Skip links')
10
11
+
12
+ it('Should traverse links on tab', () => {
13
+ cy.get('body').tab().tab()
14
+ cy.focused().should('contain', 'Footer')
15
+ })
16
17
+ it('Should focus relevant element on link press', () => {
18
+ cy.get('body').tab().click()
19
+ cy.focused().should('have.id', 'main')
20
21
0 commit comments