I need aria-label (for accessibility) but when I add it to TelerikWindow:
<TelerikWindow @ref="myWindow" Header="My Window" Width="300" Height="200" aria-label="My Custom Label">
but getting the following error:
System.InvalidOperationException: Object of type 'Telerik.Blazor.Components.TelerikWindow' does not have a property matching the name 'aria-label'.
The same if I try to add AdditionalAttributes
<TelerikWindow @ref="myWindow" Header="My Window" Width="300" Height="200" AdditionalAttributes="@windowAttributes">
<Content>
<div class="window-content">
<p>This is my window content.</p>
</div>
</Content>
</TelerikWindow>
@code {
private Dictionary<string, object> windowAttributes = new Dictionary<string, object> { { "aria-label", "My Custom Label" } };
private TelerikWindow myWindow;
}
How I can add aria-label to TelerikWindow?