Remove class names from the generated alert HTML markup and replace it with attribute role="alert". Default alert markup don’t have to care with the alert type. It’s up to the layout maker. It can be made specific via .\lot\layout\alert.php file by iterating over the array output of alert():
Remove class names from the generated alert HTML markup and replace it with attribute
role="alert"
. Default alert markup don’t have to care with the alert type. It’s up to the layout maker. It can be made specific via.\lot\layout\alert.php
file by iterating over the array output ofalert()
:Reference: https://www.w3.org/TR/wai-aria-1.1/#alert
Related: https://github.com/mecha-cms/mecha/discussions/174