Add labels to titles. see #9445

git-svn-id: https://develop.svn.wordpress.org/trunk@11149 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-05-01 17:54:05 +00:00
parent 09766dfe12
commit 1aa98191c5
2 changed files with 3 additions and 1 deletions

View File

@ -595,6 +595,7 @@ else
<div id="post-body-content">
<div id="titlediv">
<div id="titlewrap">
<label class="hidden" for="title"><?php _e('Title') ?></label>
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
</div>
<div class="inside">

View File

@ -442,7 +442,8 @@ $side_meta_boxes = do_meta_boxes('page', 'side', $post);
<div id="post-body-content">
<div id="titlediv">
<div id="titlewrap">
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
<label class="hidden" for="title"><?php _e('Title') ?></label>
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
</div>
<div class="inside">
<?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?>