Skip to content

Commit

Permalink
Fix accessibility issue in notification widget (OrchardCMS#16875)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewBrasher authored and microposmp committed Oct 16, 2024
1 parent 978d426 commit 0eadb9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<li class="nav-item">
<div class="dropdown">
<button type="button" class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
<button type="button" class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false" aria-label="@T["Notifications"]">
@if (Model.TotalUnread > 0)
{
LocalizedHtmlString title;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@model UserNotificationNavbarViewModel

<li class="nav-item dropdown text-end">
<a type="button" class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
<a type="button" class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false" aria-label="@T["Notifications"]">
@if (Model.TotalUnread > 0)
{
LocalizedHtmlString title;
Expand Down

0 comments on commit 0eadb9a

Please sign in to comment.