Accessibility fixes for tooltip

This commit is contained in:
Andrew Croce 2018-08-21 11:04:57 -04:00
parent e38bc2fa63
commit 4d8399f068

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 %}