Commit b50d4a17 authored by Chris Rebert's avatar Chris Rebert

Merge pull request #13060 from twbs/role-tooltip

add role="tooltip" to tooltips by default to improve accessibility
parents 905c7812 8a6cdff8
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
animation: true, animation: true,
placement: 'top', placement: 'top',
selector: false, 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', trigger: 'hover focus',
title: '', title: '',
delay: 0, 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