Merge pull request #10865 from ianoxley/navbar-a11y-alt-text

Add text alternatives for navbar items
This commit is contained in:
Matteo Pagliazzi
2019-05-26 11:59:04 +02:00
committed by GitHub
4 changed files with 21 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
<template lang="pug">
menu-dropdown.item-notifications(:right="true", @toggled="handleOpenStatusChange", :openStatus="openStatus")
div(slot="dropdown-toggle")
div(v-b-tooltip.hover.bottom="$t('notifications')")
div(:aria-label="$t('notifications')", v-b-tooltip.hover.bottom="$t('notifications')")
message-count(
v-if='notificationsCount > 0',
:count="notificationsCount",