Merge pull request #193 from dod-ccpo/fix/tooltip-accessibility

Accessibility fixes for tooltip
This commit is contained in:
andrewdds 2018-08-22 11:26:15 -04:00 committed by GitHub
commit feb070eaab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,8 @@
{% macro Tooltip(message,title='Help') -%}
<span class="icon-tooltip" v-tooltip.top="{content: '{{message}}'}">
<button type="button" tabindex="0" class="icon-tooltip" v-tooltip.top="{content: '{{message}}', container: false}">
{{ Icon('help') }}<span>{{ title }}</span>
</span>
</button>
{%- endmacro %}