mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
* accessibility issues fixes Various localizable accessibility related properties added tests updated side dialog close button id fixed more accessibility improvements tests fixed more accessibility fixes missing ARIA attributes added * Add rz-hidden-accessible styles * Update RadzenRating styles * RadzenSwitch fixed * RadzenFabMenu fixed * tests updated * Update expand/collapse button styles in RadzenDataGrid * Fix responsive pager styles --------- Co-authored-by: yordanov <vasil@yordanov.info>
17 lines
720 B
Plaintext
17 lines
720 B
Plaintext
@inherits RadzenComponent
|
|
@if (Visible)
|
|
{
|
|
<li class=@ItemClass role="menuitem" tabindex="@(Disabled ? "-1" : "0")" aria-disabled="@(Disabled ? "true" : "false")"
|
|
@onclick="@OnClick" @onkeydown="OnKeyDown" @attributes="Attributes" style="@Style">
|
|
<span id="@(SplitButton?.SplitButtonId() + GetHashCode())" class="rz-menuitem-link">
|
|
@if (!string.IsNullOrEmpty(Icon))
|
|
{
|
|
<span class="rz-menuitem-icon" style="@(!string.IsNullOrEmpty(IconColor) ? $"color:{IconColor}" : null)">@Icon</span>
|
|
}
|
|
@if (!string.IsNullOrEmpty(Text))
|
|
{
|
|
<span class="rz-menuitem-text">@Text</span>
|
|
}
|
|
</span>
|
|
</li>
|
|
} |