[wp-trac] [WordPress Trac] #32095: Link Text box in Insert/edit link
WordPress Trac
noreply at wordpress.org
Sun Apr 26 08:34:37 UTC 2015
#32095: Link Text box in Insert/edit link
--------------------------+-----------------------
Reporter: Enticknap | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Editor | Version: 4.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------
Comment (by Hansaplastique):
Really not intended to fire up the discussion even more ... I'm just
trying to point out that both views are supported ...
On "''that page''" (HTML5 draft):
It says nowhere "stop using this" or "no longer support".
However it does state exactly what most of us are using it for:
appropriate for tooltips.
It also says that "relying on it is discouraged", as it may not reach all
users [agents] ...
(from [http://www.w3.org/TR/html51/dom.html#the-title-attribute]).
'''3.2.5.2 The title attribute'''
'''The title attribute represents advisory information for the element,
such as would be appropriate for a tooltip.''' On a link, this could be
the title or a description of the target resource; on an image, it could
be the image credit or a description of the image; on a paragraph, it
could be a footnote or commentary on the text; on a citation, it could be
further information about the source; on interactive content, it could be
a label for, or instructions for, use of the element; and so forth. The
value is text.
'''Relying on the title attribute is currently discouraged as many user
agents do not expose the attribute in an accessible manner''' as required
by this specification (e.g. requiring a pointing device such as a mouse to
cause a tooltip to appear, which excludes keyboard-only users and touch-
only users, such as anyone with a modern phone or tablet).
If this attribute is omitted from an element, then it implies that the
title attribute of the nearest ancestor HTML element with a title
attribute set is also relevant to this element. Setting the attribute
overrides this, explicitly stating that the advisory information of any
ancestors is not relevant to this element. Setting the attribute to the
empty string indicates that the element has no advisory information.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32095#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list