From 2cef124bf27ce89f1fbfc493352ebfd895b40822 Mon Sep 17 00:00:00 2001 From: Jiabao Wu Date: Wed, 22 Apr 2015 10:20:11 -0400 Subject: Tooltip: Remove name attribute from elements in the live region Fixes #11272 Closes gh-1544 --- ui/tooltip.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ui') diff --git a/ui/tooltip.js b/ui/tooltip.js index 841e877cc..e18f3e19d 100644 --- a/ui/tooltip.js +++ b/ui/tooltip.js @@ -287,6 +287,7 @@ $.widget( "ui.tooltip", { // Voiceover will sometimes re-read the entire log region's contents from the beginning this.liveRegion.children().hide(); a11yContent = $( "
" ).html( tooltip.find( ".ui-tooltip-content" ).html() ); + a11yContent.removeAttr( "name" ).find( "[name]" ).removeAttr( "name" ); a11yContent.removeAttr( "id" ).find( "[id]" ).removeAttr( "id" ); a11yContent.appendTo( this.liveRegion ); -- cgit v1.2.3