Skip to content

Commit

Permalink
aria-label added to RadzenPanelMenuItem
Browse files Browse the repository at this point in the history
  • Loading branch information
enchev committed Dec 6, 2023
1 parent 2bdfe2e commit c711a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RadzenBlazorDemos/Shared/NavigationItem.razor
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@if (!Example.New && !Example.Updated)
{
<RadzenPanelMenuItem @bind-Expanded=@Expanded Text="@Example.Name" Path="@Example.Path" Icon="@Example.Icon">
<RadzenPanelMenuItem @bind-Expanded=@Expanded Text="@Example.Name" Path="@Example.Path" Icon="@Example.Icon" aria-label="@Example.Name">
@ChildContent
</RadzenPanelMenuItem>
}
else
{
<RadzenPanelMenuItem @bind-Expanded=@Expanded Text="@Example.Name" Path="@Example.Path" Icon="@Example.Icon">
<RadzenPanelMenuItem @bind-Expanded=@Expanded Text="@Example.Name" Path="@Example.Path" Icon="@Example.Icon" aria-label="@Example.Name">
<Template>
@Example.Name
<RadzenBadge Text="Updated" Visible=@Example.Updated BadgeStyle="BadgeStyle.Info" Shade="Shade.Lighter"/>
Expand Down

0 comments on commit c711a0c

Please sign in to comment.