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

WordPress Trac noreply at wordpress.org
Tue Jan 21 21:47:44 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 has-patch  |     Focuses:  ui,
                                                 |  accessibility
-------------------------------------------------+-------------------------

Comment (by audrasjb):

 In [changeset:"59675" 59675]:
 {{{
 #!CommitTicketReference repository="" revision="59675"
 Themes: Remove title attributes from theme list tables.

 This changeset updates the old list tables for themes and theme
 installation to remove `title` attributes or replace them with a more
 acessible implementation:
 - Removes `title` attributes from `span` elements
 - Replaces `title` with `aria-label` for links whose visible text starts
 with the same word, consistently with links on the "Add Plugins" screen
 - Reuses the `$preview_title` variable to keep ARIA labels consistent for
 both Preview links

 Follow-up to [22439], [27548], [31513], [32991], [50804], [53414].

 Props karlgroves, sabernhardt, audrasjb, alh0319.
 Fixes #62834.
 See #24766.
 }}}

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


More information about the wp-trac mailing list