[wp-trac] [WordPress Trac] #34625: wp-login.php site title link points to wordpress.org
WordPress Trac
noreply at wordpress.org
Sun Nov 8 22:25:11 UTC 2015
#34625: wp-login.php site title link points to wordpress.org
----------------------------+-----------------------------
Reporter: ovann86 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.3.1
Severity: normal | Keywords:
Focuses: accessibility |
----------------------------+-----------------------------
In the WordPress administration login page, the site title at the top of
the page is linked to wordpress.org
From an accessibility perspective, this is misleading. Specifically, WCAG
2.0 has a focus on making link text that describes the purpose of a link -
which this does not.
The WC3 have several articles covering this topic, but this gives the
general idea of what they're advising
[http://www.w3.org/TR/WCAG20-TECHS/H30.html]
I am suggesting that we change this text to link to the home url, like
happens for multi-sites.
The specific change would be
wp-login.php - line 101 and line 102
FROM
{{{
$login_header_url = __( 'https://wordpress.org/' );
$login_header_title = __( 'Powered by WordPress' );
}}}
TO
{{{
$login_header_url = home_url();
$login_header_title =
wp_specialchars_decode(get_option('blogdescription'), ENT_QUOTES);
}}}
If this was done deliberately, such as to promote the wordpress.org
website or to help users identify the CMS - you should consider adding a
link to the bottom of the login form.
If you're wondering why the link title is not adequate, it's because by
default screen readers do not read out the link title - they read the
linked text.
Here's an article that touches on this and has a video showing how
ineffective it is: [https://silktide.com/i-thought-title-text-improved-
accessibility-i-was-wrong/]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34625>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list