diff --git a/Components/Daisy/Navigation/DTab.razor b/Components/Daisy/Navigation/DTab.razor index 04fa7fe..d248ca6 100644 --- a/Components/Daisy/Navigation/DTab.razor +++ b/Components/Daisy/Navigation/DTab.razor @@ -9,6 +9,8 @@ [Parameter] public RenderFragment ChildContent { get; set; } [Parameter] public bool Disabled { get; set; } [Parameter] public string Class { get; set; } + /// The tab's name for a screen reader and as its tooltip, when its Header shows only an icon. + [Parameter] public string AccessibleName { get; set; } protected override void OnInitialized() { diff --git a/Components/Daisy/Navigation/DTabs.razor b/Components/Daisy/Navigation/DTabs.razor index 98d9ce7..4ae32d9 100644 --- a/Components/Daisy/Navigation/DTabs.razor +++ b/Components/Daisy/Navigation/DTabs.razor @@ -12,6 +12,7 @@ var index = i; var tab = tabs[i];