Skip to content

Commit

Permalink
Wrap notification icon in button to make it accessible #580
Browse files Browse the repository at this point in the history
  • Loading branch information
caebr committed Jul 26, 2023
1 parent 7c54598 commit c465e29
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
isAuthenticated: (isAuthenticated$ | async)
} as data"
>
<div
<button
type="button"
[attr.aria-label]="'my-notifications.title' | translate"
(click)="toggleNotificationsPopup()"
id="notifications-button"
class="btn notifications-button p-0 m-0"
class="btn btn-link notifications-button p-0 m-0"
>
<span
class="notifications-bell"
Expand Down Expand Up @@ -40,7 +42,7 @@
"
>{{ data.notificationsCount }}</span
>
</div>
</button>
<div
class="notifications-popup border"
id="notifications-popup"
Expand Down

0 comments on commit c465e29

Please sign in to comment.