mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
add role="tooltip" to tooltips by default to improve accessibility
See https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#tooltip
This commit is contained in:
parent
7b41aab775
commit
8a6cdff825
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user