-
-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#6307) Co-authored-by: ichim-david <[email protected]>
- Loading branch information
1 parent
0e4f508
commit eb14b61
Showing
3 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,10 @@ describe('Accessibility Tests', () => { | |
|
||
it('Contact form has not a11y violations', () => { | ||
cy.navigate('/contact-form'); | ||
cy.get('#field-name').click().type('input'); | ||
cy.get('#field-from').click().type('[email protected]'); | ||
cy.get('#field-subject').click().type('input'); | ||
cy.get('#field-message').click().type('input'); | ||
cy.checkA11y(); | ||
}); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Change Form input:focus text color to the `textColor` value for a11y. | ||
Add Cypress test for contact form inputs. @ThomasKindermann @tedw87 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
|
||
&:focus { | ||
border-radius: 0; | ||
color: @textColor; | ||
} | ||
} | ||
|
||
|