Status 1.1 - Accessibility improvements and refactor

Back to changelog

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 to hide
  • Messages no longer disappear automatically

Non-breaking changes

  • Markup should use role="alert" instead of aria-live="polite"
  • Added autohideDelay parameter