Skip to content

Commit 20dd0e9

Browse files
committed
TabsItem role set to "tab"
1 parent 397e2d2 commit 20dd0e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Radzen.Blazor/RadzenTabsItem.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@implements IDisposable
33
@if (Tabs.RenderMode == TabRenderMode.Server ? Visible : true)
44
{
5-
<li role="presentation" @attributes=@Attributes style=@getStyle() class=@Class>
5+
<li role="tab" @attributes=@Attributes style=@getStyle() class=@Class>
66
<a @onclick=@OnClick role="tab" @onclick:preventDefault="true" id="@($"{Tabs.Id}-tabpanel-{Index}-label")"
77
aria-selected=@(IsSelected? "true" : "false") aria-controls="@($"{Tabs.Id}-tabpanel-{Index}")" @onkeydown:stopPropagation>
88
@if (!string.IsNullOrEmpty(Icon))

0 commit comments

Comments
 (0)