-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into VIV-2118-numberfield-docs
- Loading branch information
Showing
61 changed files
with
1,821 additions
and
408 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"settingsInheritedFrom": "Vonage/whitesource-config@main" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Implementation | ||
|
||
Use the `timeoutms` attribute with care. Users with disabilities may need more time to read the content. If the Alert contains interactive elements, such as links or buttons, you should avoid using `timeoutms`. See also [WCAG SC 2.2.3 No Timing](https://www.w3.org/WAI/WCAG22/Understanding/no-timing). | ||
|
||
## Resources | ||
|
||
- [Alert: Manual accessibility test](https://docs.google.com/spreadsheets/d/1Jo0Vn2V-A2K_NKSBwE78-Pn-P_l7VDzQwZ0rD1CNo-0/edit?gid=1175911860#gid=1175911860) | ||
- [ARIA APG Alert Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/alert/) |
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,33 @@ | ||
## When to Use | ||
|
||
Use Alerts to display short-lived messages in response to user actions. Alerts may inform users that: | ||
|
||
- A process was initiated | ||
- An action was successful | ||
- An action requires attention | ||
- An action failed | ||
|
||
## Closing Alerts | ||
|
||
<docs-do-dont> | ||
<docs-do slot="description" headline="Provide the close button" caption="The close button allows users to dismiss the Alert to access content behind it."> | ||
|
||
```html preview example 100px | ||
<vwc-alert | ||
connotation="success" | ||
text="Data saved successfully." | ||
open | ||
removable | ||
></vwc-alert> | ||
``` | ||
|
||
</docs-do> | ||
|
||
<docs-do dont headline="Don't automatically close interactive Alerts" caption="Users with disabilities may need more time to interact with the Alert."> | ||
</docs-do> | ||
</docs-do-dont> | ||
|
||
## Related Components | ||
|
||
- [Note](/components/note/) | ||
- [Banner](/components/banner/) |
Oops, something went wrong.