-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Form fields): improve accesibility of errors (#1246)
WEB-1958 - Added an icon to error messages (this makes the error message more accesible over inverse and for color-blind users) - Added an aria-live region to announce all the fields with error when the form is submitted and there is more than one field with error - Make sure all mandatory form fields are validated - Form fields are validated onBlur. Previously, we only validated fields with a special format, like email. - Fixed an error making VoiceOver read fields label twice
- Loading branch information
Showing
66 changed files
with
160 additions
and
79 deletions.
There are no files selected for viewing
Binary file modified
BIN
+882 Bytes
(110%)
...s__/__image_snapshots__/form-select-screenshot-test-tsx-select-error-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+880 Bytes
(110%)
..._image_snapshots__/input-fields-screenshot-test-tsx-text-field-error-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+842 Bytes
(110%)
...hots__/input-fields-screenshot-test-tsx-text-field-inverse-and-error-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+345 Bytes
(100%)
...ots__/private-skin-components-screenshot-test-tsx-components-in-blau-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+352 Bytes
(100%)
...e-skin-components-screenshot-test-tsx-components-in-blau-alternative-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+306 Bytes
(100%)
...ate-skin-components-screenshot-test-tsx-components-in-blau-dark-mode-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+338 Bytes
(100%)
...ivate-skin-components-screenshot-test-tsx-components-in-blau-inverse-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+367 Bytes
(100%)
...ponents-screenshot-test-tsx-components-in-blau-inverse-and-dark-mode-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+388 Bytes
(100%)
..._/private-skin-components-screenshot-test-tsx-components-in-movistar-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+396 Bytes
(100%)
...in-components-screenshot-test-tsx-components-in-movistar-alternative-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+398 Bytes
(100%)
...skin-components-screenshot-test-tsx-components-in-movistar-dark-mode-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+378 Bytes
(100%)
...e-skin-components-screenshot-test-tsx-components-in-movistar-inverse-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+431 Bytes
(100%)
...nts-screenshot-test-tsx-components-in-movistar-inverse-and-dark-mode-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+373 Bytes
(100%)
...hots__/private-skin-components-screenshot-test-tsx-components-in-o-2-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+296 Bytes
(100%)
...te-skin-components-screenshot-test-tsx-components-in-o-2-alternative-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+345 Bytes
(100%)
...vate-skin-components-screenshot-test-tsx-components-in-o-2-dark-mode-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+402 Bytes
(100%)
...rivate-skin-components-screenshot-test-tsx-components-in-o-2-inverse-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+357 Bytes
(100%)
...mponents-screenshot-test-tsx-components-in-o-2-inverse-and-dark-mode-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+309 Bytes
(100%)
...__/private-skin-components-screenshot-test-tsx-components-in-o-2-new-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+341 Bytes
(100%)
...kin-components-screenshot-test-tsx-components-in-o-2-new-alternative-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+341 Bytes
(100%)
...-skin-components-screenshot-test-tsx-components-in-o-2-new-dark-mode-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+345 Bytes
(100%)
...te-skin-components-screenshot-test-tsx-components-in-o-2-new-inverse-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+376 Bytes
(100%)
...ents-screenshot-test-tsx-components-in-o-2-new-inverse-and-dark-mode-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+371 Bytes
(100%)
...private-skin-components-screenshot-test-tsx-components-in-telefonica-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+363 Bytes
(100%)
...-components-screenshot-test-tsx-components-in-telefonica-alternative-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+387 Bytes
(100%)
...in-components-screenshot-test-tsx-components-in-telefonica-dark-mode-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+304 Bytes
(100%)
...skin-components-screenshot-test-tsx-components-in-telefonica-inverse-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+432 Bytes
(100%)
...s-screenshot-test-tsx-components-in-telefonica-inverse-and-dark-mode-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+388 Bytes
(100%)
...shots__/private-skin-components-screenshot-test-tsx-components-in-tu-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+408 Bytes
(100%)
...ate-skin-components-screenshot-test-tsx-components-in-tu-alternative-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+422 Bytes
(100%)
...ivate-skin-components-screenshot-test-tsx-components-in-tu-dark-mode-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+409 Bytes
(100%)
...private-skin-components-screenshot-test-tsx-components-in-tu-inverse-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+479 Bytes
(100%)
...omponents-screenshot-test-tsx-components-in-tu-inverse-and-dark-mode-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+396 Bytes
(100%)
..._/private-skin-components-screenshot-test-tsx-components-in-vivo-new-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+417 Bytes
(100%)
...in-components-screenshot-test-tsx-components-in-vivo-new-alternative-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+369 Bytes
(100%)
...skin-components-screenshot-test-tsx-components-in-vivo-new-dark-mode-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+390 Bytes
(100%)
...e-skin-components-screenshot-test-tsx-components-in-vivo-new-inverse-3-snap.png
Oops, something went wrong.
Binary file modified
BIN
+409 Bytes
(100%)
...nts-screenshot-test-tsx-components-in-vivo-new-inverse-and-dark-mode-3-snap.png
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.