mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-17 21:20:23 +00:00
Merge pull request #13060 from twbs/role-tooltip
add role="tooltip" to tooltips by default to improve accessibility
This commit is contained in:
commit
b50d4a176f
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue