mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tooltip: Removing application role, should be set on application level
This commit is contained in:
parent
8b4245ac7e
commit
bd22613af7
5
ui/jquery.ui.tooltip.js
vendored
5
ui/jquery.ui.tooltip.js
vendored
@ -14,11 +14,6 @@
|
|||||||
*/
|
*/
|
||||||
(function($) {
|
(function($) {
|
||||||
|
|
||||||
// role=application on body required for screenreaders to correctly interpret aria attributes
|
|
||||||
if( !$(document.body).is('[role]') ){
|
|
||||||
$(document.body).attr('role','application');
|
|
||||||
}
|
|
||||||
|
|
||||||
var increments = 0;
|
var increments = 0;
|
||||||
|
|
||||||
$.widget("ui.tooltip", {
|
$.widget("ui.tooltip", {
|
||||||
|
Loading…
Reference in New Issue
Block a user