Add visuallyhidden plugin
This commit is contained in:
parent
eb57970c1a
commit
0e902f9350
4 changed files with 8 additions and 2 deletions
|
@ -3,12 +3,12 @@
|
|||
<div class="bg-grey-lightest rounded overflow-hidden">
|
||||
<button type="button" class="p-2 focus:outline-none" :class="[mode == 'grid' ? 'bg-blue-light text-white' : 'text-grey-darkest']" @click="$emit('display-changed', 'grid')">
|
||||
<svg class="h-5 w-5 fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__grid"></use></svg>
|
||||
<span class="hidden">Grid</span>
|
||||
<span class="visuallyhidden">Grid</span>
|
||||
</button>
|
||||
|
||||
<button type="button" class="p-2 focus:outline-none" :class="[mode == 'list' ? 'bg-blue-light text-white' : 'text-grey-darkest']" @click="$emit('display-changed', 'list')">
|
||||
<svg class="h-5 w-5 fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__list"></use></svg>
|
||||
<span class="hidden">List</span>
|
||||
<span class="visuallyhidden">List</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Reference in a new issue