[wp-trac] [WordPress Trac] #37011: Don’t link custom logo if it’s displayed on the front page
WordPress Trac
noreply at wordpress.org
Sat Jun 13 15:27:37 UTC 2020
#37011: Don’t link custom logo if it’s displayed on the front page
-------------------------------------------------+-------------------------
Reporter: FlorianBrinkmann | Owner: joedolson
Type: enhancement | Status: accepted
Priority: normal | Milestone: 5.5
Component: Themes | Version: 4.6
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-dev- | Focuses:
note | accessibility
-------------------------------------------------+-------------------------
Comment (by afercia):
Should the logo `alt` attribute be empty on the front page?
I'd tend to think that when it's not within the link the logo is purely
"decorative" and doesn't need its purpose to be described.
If so, I guess the `alt` should be explicitly set to empty string e.g.:
`$custom_logo_attr['alt'] = '';`
and the comment block above should be updated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37011#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list