[wp-trac] [WordPress Trac] #30939: Missing title attribute in anchor tag in function start_el

WordPress Trac noreply at wordpress.org
Wed Jan 7 14:03:27 UTC 2015


#30939: Missing title attribute in anchor tag in function start_el
-------------------------------+--------------------------------------
 Reporter:  sireneweb          |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  3.3
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion        |     Focuses:  accessibility, template
-------------------------------+--------------------------------------

Comment (by rianrietveld):

 I've been digging deeper into this:

 In the HTML5 specifications it is specifically discouraged to use a title
 attribute.

 http://www.w3.org/TR/html51/dom.html#the-title-attribute
   Quote: 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).

 It is mentioned as a technique in
 http://www.w3.org/TR/WCAG20-TECHS/H33.html as you refer to, but it is
 discouraged to use.

 Don't focus on a technique, but focus on the usability for your users. H33
 is a WCAG technique, not a requirement.

 Using a title attribute is not concerned good accessibly or usability
 practice.
 Most screen readers do not read a title attribute at all, for
 accessibility it's useless.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30939#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list