Skip to content

Commit

Permalink
MudAlert: Remove alert role (MudBlazor#9298)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalmers authored Jul 3, 2024
1 parent 952e620 commit 9cc3dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MudBlazor/Components/Alert/MudAlert.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@inherits MudComponentBase
@inject InternalMudLocalizer Localizer

<div role="alert" aria-live="assertive" @attributes="UserAttributes" class="@Classname" Style="@Style" @onclick="EventUtil.AsNonRenderingEventHandler<MouseEventArgs>(OnClickHandler)">
<div @attributes="UserAttributes" class="@Classname" Style="@Style" @onclick="EventUtil.AsNonRenderingEventHandler<MouseEventArgs>(OnClickHandler)">
<div class="@ClassPosition">
@if (!NoIcon)
{
Expand All @@ -22,4 +22,4 @@
aria-label="@Localizer[nameof(LanguageResource.MudAlert_Close)]" />
</div>
}
</div>
</div>

0 comments on commit 9cc3dfa

Please sign in to comment.