[wp-trac] [WordPress Trac] #34625: wp-login.php site title link points to wordpress.org
WordPress Trac
noreply at wordpress.org
Tue Nov 17 16:18:53 UTC 2015
#34625: wp-login.php site title link points to wordpress.org
---------------------------------------+--------------------------------
Reporter: ovann86 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.3
Severity: normal | Resolution:
Keywords: has-patch has-screenshots | Focuses: ui, accessibility
---------------------------------------+--------------------------------
Comment (by afercia):
Trying to recap what's happening with the logo link and why it matters,
here's the current setup:
{{{
1) multisite main site:
hidden link text: Network Name
title attribute: Network Name
URL: Network home URL
2) multisite site:
hidden link text: Site Name
title attribute: Network Name
URL: Network home URL
3) not multisite:
hidden link text: Blog Name
title attribute: Powered by WordPress
URL: https://wordpress.org/
}}}
Screen readers will always read out the hidden link text (and by default
they don't announce the title attribute) so 2) and 3) would be misleading.
The link text is set to the "single" site name but the link points
respectively to the Network home and to wordpress.org
The link and the title attribute are filterable. The link text is given by
`bloginfo()` which is filterable too. By the way the default values should
be probably improved.
Tried to find the best way to handle this in the last accessibility team
chat on Slack, the proposal was to remove the title attribute and use the
current filter `login_headertitle` on the link text instead.
By the way, since plugins and themes are using this filter in ways we
can't predict, I'd propose something slightly different and a bit more
gradual approach. Any thoughts and feedback more than welcome. Maybe
something along these lines could work:
- deprecate the `login_headertitle` filter
- make the default link text the same as the default title attribute
- introduce a new filter for the link text
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34625#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list