[wp-trac] [WordPress Trac] #42537: Remove title attributes: wp-login.php

WordPress Trac noreply at wordpress.org
Tue Nov 14 03:00:48 UTC 2017


#42537: Remove title attributes: wp-login.php
------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov          |      Owner:
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  Login and Registration  |    Version:  4.9
 Severity:  normal                  |   Keywords:
  Focuses:  accessibility           |
------------------------------------+-----------------------------
 Background: #34625

 On Multisite, the `title` attribute in `login_header()` is different from
 the link text and has some meaning.
 {{{
 <a href="http://ms.wordpress.dev/" title="Network Title"
 tabindex="-1">Site Title</a>
 }}}
 On single site, however, the `title` attribute just duplicates the link
 text and is redundant:
 {{{
 <a href="http://wordpress.dev/" title="Powered by WordPress"
 tabindex="-1">Powered by WordPress</a>
 }}}

 Most of the `title` attributes are already removed from core via #24766
 and related tickets. We should consider removing this one as well, either
 completely or only if it duplicates the link text.

 The `login_headertitle` filter could either be deprecated or repurposed to
 filter the link text instead.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42537>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list