Skip to content

Commit e8e8081

Browse files
committed
ValidationError: add role="alert"
1 parent 8b60fe2 commit e8e8081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Blazorise/Components/Validation/ValidationError.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@inherits BaseValidationResult
33
@if ( ParentValidation?.Status == ValidationStatus.Error )
44
{
5-
<div @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" @attributes="@Attributes">
5+
<div @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" role="alert" aria-live="assertive" @attributes="@Attributes">
66
@if ( ChildContent is not null )
77
{
88
@ChildContent

0 commit comments

Comments
 (0)