WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/04/2008 10:37:06 AM (13 years ago)
Author:
westi
Message:

Associate lables with form fields. Fixes #6859 props MarcoZ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/sidebar.php

    r7540 r7883  
    6161<input type="hidden" name="mode" value="sidebar" />
    6262<?php wp_nonce_field('add-post'); ?>
    63 <p><?php _e('Title:'); ?>
    64 <input type="text" name="post_title" size="20" tabindex="1" style="width: 100%;" />
     63<p><label for="post_title"><?php _e('Title:'); ?></label>
     64<input type="text" name="post_title" id="post_title" size="20" tabindex="1" style="width: 100%;" />
    6565</p>
    6666<p><?php _e('Categories:'); ?>
     
    7070</p>
    7171<p>
    72 Post:
    73 <textarea rows="8" cols="12" style="width: 100%" name="content" tabindex="2"></textarea>
     72<label for="content">Post:</label>
     73<textarea rows="8" cols="12" style="width: 100%" name="content" id="content" tabindex="2"></textarea>
    7474</p>
    7575<p>
Note: See TracChangeset for help on using the changeset viewer.