[wp-trac] [WordPress Trac] #24766: Title attributes galore. They serve no useful purpose.

WordPress Trac noreply at wordpress.org
Sun Jan 14 08:55:39 UTC 2024


#24766: Title attributes galore. They serve no useful purpose.
---------------------------------------+--------------------------------
 Reporter:  karlgroves                 |       Owner:  sabernhardt
     Type:  task (blessed)             |      Status:  accepted
 Priority:  normal                     |   Milestone:  6.5
Component:  Administration             |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  title-attribute a11y-task  |     Focuses:  ui, accessibility
---------------------------------------+--------------------------------

Comment (by audrasjb):

 Replying to [comment:66 sabernhardt]:
 > For the author functions, #26559 retained some title attributes because
 the "Posts by //author//" and "Visit //author//'s website" tooltips still
 had a //small// additional value for anyone who could access them. (The
 important information was already in the visible link text.) **If** that
 decision should be reconsidered, a new ticket could focus on those
 functions, and any [https://github.com/sabernhardt/wordpress-
 develop/pull/32 patch] would need to update the unit tests too.

 Shouldn't we just replace the `title` attribute with `aria-label`?

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


More information about the wp-trac mailing list