[wp-trac] [WordPress Trac] #30425: jQuery UI Tooltip - additional instance, ghost text
WordPress Trac
noreply at wordpress.org
Fri Dec 5 02:46:50 UTC 2014
#30425: jQuery UI Tooltip - additional instance, ghost text
--------------------------------+------------------------------
Reporter: AITpro | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: External Libraries | Version: 4.0
Severity: normal | Resolution: invalid
Keywords: | Focuses: ui, javascript
--------------------------------+------------------------------
Changes (by AITpro):
* status: new => closed
* resolution: => invalid
Comment:
ARGH disregard. I can't believe I missed this very common known issue.
appendTo is adding another div and just using
{{{
.ui-helper-hidden-accessible{display:none;}
}}}
CSS hides the appended additional text from the body.
{{{
_create:function(){
this._on({mouseover:"open",focusin:"open"}),
this.tooltips={},
this.parents={},
this.options.disabled&&this._disable(),
this.liveRegion=a("<div>").attr({
role:"log","aria-live":"assertive","aria-
relevant":"additions"}).addClass("ui-helper-hidden-
accessible").appendTo(this.document[0].body)},
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30425#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list