Build your web apps using Smart UI
Smart.Toast - Accessibility
The purpose of the ARIA attributes is to help disabled people by providing the information specific to the component to assistive technology in the screen readers.
Toast is a dialog component with role alert. As such it is a type of live region with important, and usually time-sensitive information. Alerts are assertive live regions and will be processed as such by assistive technologies.
The following ARIA attributes are used in the Toast:
- aria-disabled - indicates that interaction with the Toast is disabled.
- aria-label - applied to the icon container inside the Toast items, indicates the textual meaning of the icon.
Additional information on WAI-ARIA for the SMART Framework can be found here.