Commit 8a6cdff8 authored by Chris Rebert's avatar Chris Rebert

add role="tooltip" to tooltips by default to improve accessibility

See https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#tooltip
parent 7b41aab7
......@@ -29,7 +29,7 @@
animation: true,
placement: 'top',
selector: false,
template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
trigger: 'hover focus',
title: '',
delay: 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment