diff options
author | Jiabao Wu <jiabao.foss@gmail.com> | 2015-04-22 10:20:11 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-04-22 10:20:11 -0400 |
commit | 2cef124bf27ce89f1fbfc493352ebfd895b40822 (patch) | |
tree | 9459531f94c5df968cc93fd99d0ed4929b347e00 /ui/tooltip.js | |
parent | adcc8eff431847b4897666369310cb83275a8282 (diff) | |
download | jquery-ui-2cef124bf27ce89f1fbfc493352ebfd895b40822.tar.gz jquery-ui-2cef124bf27ce89f1fbfc493352ebfd895b40822.zip |
Tooltip: Remove name attribute from elements in the live region
Fixes #11272
Closes gh-1544
Diffstat (limited to 'ui/tooltip.js')
-rw-r--r-- | ui/tooltip.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 = $( "<div>" ).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 ); |