This is a base messaging component. It is intended to be included as a partial and overridden to create more specific
messaging components e.g. Status Message in ./status.hbs
. It uses ARIA role="log"
by default and sets
aria-live"assertive"
if role="log"
is overridden to role="alert"
.
<div aria-live="assertive" role="log">
This is an example of a message. It has clear instructions on how to resolve the issue.
</div>
<div aria-live="polite" role="status">
This is an example of how to create status message using the base messaging component. It has clear instructions on how to resolve the issue.
</div>