diff options
author | SurenNeware <sneware9@in.ibm.com> | 2020-12-24 18:28:16 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2021-01-27 14:39:57 +0300 |
commit | 6e2cb978428ba078ebe0d171a69322308ab48d48 (patch) | |
tree | 05f5dab826c39dada2bcaf61a67eac5cb030f64a /src/components/Global/InfoTooltip.vue | |
parent | bd0c01f2efd91b8e324bd0e0606427f31dba49b9 (diff) | |
download | webui-vue-6e2cb978428ba078ebe0d171a69322308ab48d48.tar.xz |
Fixed icon or text only button accessibility
- Add sr-only element to icon only buttons
- Removed title from text only buttons
Signed-off-by: Suren Neware <sneware9@in.ibm.com>
Change-Id: Ica57dec70401c04a9d7506306a406fe394e52113
Diffstat (limited to 'src/components/Global/InfoTooltip.vue')
-rw-r--r-- | src/components/Global/InfoTooltip.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Global/InfoTooltip.vue b/src/components/Global/InfoTooltip.vue index 5d604503..c91109d1 100644 --- a/src/components/Global/InfoTooltip.vue +++ b/src/components/Global/InfoTooltip.vue @@ -4,9 +4,9 @@ variant="link" class="btn-tooltip btn-icon-only" :title="title" - :aria-label="$t('global.ariaLabel.tooltip')" > <icon-tooltip /> + <span class="sr-only">{{ $t('global.ariaLabel.tooltip') }}</span> </b-button> </template> |