MDL-35849 login: Add role alert to error messages
Error messages should be prominent to screen readers as well as visual users, adding the role alert is recommended way to achieve it for screen readers and this is also what we do for ->notification apis
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
<div class="subcontent loginsub">
|
||||
{{#error}}
|
||||
<div class="loginerrors">
|
||||
<div class="loginerrors" role="alert">
|
||||
<a href="#" id="loginerrormessage" class="accesshide">{{error}}</a>
|
||||
{{{errorformatted}}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user