login accessibility patch from Viper007Bond. fixes #3620

git-svn-id: https://develop.svn.wordpress.org/trunk@5064 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-03-20 20:39:39 +00:00
parent 3c5b5f926b
commit 7b297e825f
2 changed files with 2 additions and 5 deletions

View File

@ -731,10 +731,7 @@ input.delete:hover {
width: 320px;
display: block;
border-bottom: none;
}
#login .hide {
display: none;
text-indent: -9999px;
}
#login .message {

View File

@ -46,7 +46,7 @@ function login_header($title = 'Login', $message = '') {
</head>
<body class="login">
<div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><span class="hide"><?php bloginfo('name'); ?></span></a></h1>
<div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><?php bloginfo('name'); ?></a></h1>
<?php
if ( !empty( $message ) ) echo apply_filters('login_message', $message) . "\n";