[wp-trac] [WordPress Trac] #62879: get_custom_logo does not apply the aria-current attribute in all cases

WordPress Trac noreply at wordpress.org
Fri Mar 21 13:54:55 UTC 2025


#62879: get_custom_logo does not apply the aria-current attribute in all cases
------------------------------+----------------------------
 Reporter:  bschneidewind     |       Owner:  audrasjb
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.8
Component:  General           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  accessibility
------------------------------+----------------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"60062" 60062]:
 {{{
 #!CommitTicketReference repository="" revision="60062"
 General: Improve `aria-current` management in `get_custom_logo()`.

 This changeset fixes a edge case in `get_custom_logo()` where a page was
 set for the homepage without any front page in Settings > Reading and the
 `aria-current` attribute wasn't present on the logo link.

 Props bschneidewind, audrasjb, siliconforks, sabernhardt, faisal03,
 shailu25, peterwilsoncc.
 Fixes #62879.
 }}}

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


More information about the wp-trac mailing list