The aria-live
attribute should be used with extreme caution, as it can provide an incredibly poor user experience for users with assistive technology.
Because the aria-live
attribute can be used on any HTML element, and effects all child elements of the element marked with the attribute, a thorough understanding of how this role works and when to use it is especially necessary for competent software engineers who build web-based solutions.
The aria-live
attribute can have a few different values (POLITENESS_SETTING): off, polite, and assertive.
Assistive technologies should not announce updates unless the assistive technology is currently focused on that region.
Regions which contain information that will receive updates but are not critical for users to know about immediately can be marked with aria-live="off"
. Once that region has (user-driven) focus, the updates will be made known.