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

WordPress Trac noreply at wordpress.org
Sat Jan 11 06:45:27 UTC 2025


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

Comment (by alh0319):

 I have made some progress on assessing the remaining title attributes.

 I searched the files and created a Google Sheet documenting all instances
 of `title="`. After removing instances where that was included in an
 iframe, there are 89 instances throughout the code base.

 Here's the Google Sheet showing title attribute use
 https://docs.google.com/spreadsheets/d/1CZfxsbPVS3K2bNSdNRQPNQbe3Z3wkVDx0cpgQP8JrOo/edit?usp=sharing.

 There are columns for file path, line number, and a code snippets. I also
 have a recommended fix column and a ignore reason column. I've assessed
 about half of them so far, but wanted to share this in case anyone else
 wants to jump in.

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


More information about the wp-trac mailing list