Make WordPress Core


Ignore:
Timestamp:
05/04/2008 09:28:12 PM (17 years ago)
Author:
westi
Message:

Add ARIA markup for required fields. Fixes #6914 props MarcoZ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-category-form.php

    r7887 r7888  
    2727        <tr class="form-field form-required">
    2828            <th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th>
    29             <td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" /><br />
     29            <td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" aria-required="true" /><br />
    3030            <?php _e('The name is used to identify the category almost everywhere, for example under the post or in the category widget.'); ?></td>
    3131        </tr>
Note: See TracChangeset for help on using the changeset viewer.