[wp-trac] [WordPress Trac] #62834: Consider removing title attributes from theme list tables

WordPress Trac noreply at wordpress.org
Tue Jan 21 21:47:43 UTC 2025


#62834: Consider removing title attributes from theme list tables
-------------------------------------+-------------------------------------
 Reporter:  sabernhardt              |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  closed
 Priority:  low                      |   Milestone:  6.8
Component:  Themes                   |     Version:
 Severity:  minor                    |  Resolution:  fixed
 Keywords:  title-attribute has-     |     Focuses:  accessibility,
  patch                              |  administration
-------------------------------------+-------------------------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 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/62834#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list