Merge pull request #193 from dod-ccpo/fix/tooltip-accessibility
Accessibility fixes for tooltip
This commit is contained in:
commit
feb070eaab
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
{% macro Tooltip(message,title='Help') -%}
|
{% 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>
|
{{ Icon('help') }}<span>{{ title }}</span>
|
||||||
</span>
|
</button>
|
||||||
|
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user