Status 1.1 - Accessibility improvements and refactor
This update changes the markup from using aria-live="polite"
to role="alert"
, and made automatically hiding messages an optional extra parameter instead of the default behaviour.
Breaking changes
- Renamed
clear
method tohide
- Messages no longer disappear automatically
Non-breaking changes
- Markup should use
role="alert"
instead ofaria-live="polite"
- Added autohideDelay parameter