Accessibility improvements
This commit is contained in:
parent
88f701632e
commit
ec7791725e
@ -244,7 +244,8 @@
|
||||
|
||||
p{
|
||||
margin: 0;
|
||||
font-weight: $font-weight-normal;
|
||||
font-weight: $font-weight-bold;
|
||||
color: rgba($white,0.8);
|
||||
line-height: 30px;
|
||||
position: relative;
|
||||
display: block;
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
class="dropdown-toggle btn-rotate"
|
||||
:class="titleClasses"
|
||||
:aria-expanded="isOpen"
|
||||
:aria-label="title"
|
||||
:aria-label="title || ariaLabel"
|
||||
data-toggle="dropdown">
|
||||
<slot name="title" :is-open="isOpen">
|
||||
<i :class="icon"></i>
|
||||
@ -58,6 +58,7 @@
|
||||
type: Boolean,
|
||||
description: "Whether menu should appear on the right"
|
||||
},
|
||||
ariaLabel: String
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@ -101,8 +101,8 @@
|
||||
<p class="card-category d-inline">{{$t('dashboard.today')}}</p>
|
||||
<base-dropdown menu-on-right=""
|
||||
tag="div"
|
||||
aria-label="Settings menu"
|
||||
title-classes="btn btn-link btn-icon"
|
||||
aria-label="Settings menu"
|
||||
:class="{'float-left': isRTL}">
|
||||
<i slot="title" class="tim-icons icon-settings-gear-63"></i>
|
||||
<a class="dropdown-item" href="#pablo">{{$t('dashboard.dropdown.action')}}</a>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user