Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/04/2016 12:34:47 AM (10 years ago)
Author:
mercime
Message:

Accessibility: Mark xProfile input fields in wp-admin as required.

Error prevention by indicating that the input fields for the Add New Field Name and
Add New Profile Field Group Name are need to be filled up by user.

Fixes #7274.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php

    r11127 r11169  
    13301330        <div id="titlediv">
    13311331            <div class="titlewrap">
    1332                 <label id="title-prompt-text" for="title"><?php echo esc_html_x( 'Name', 'XProfile admin edit field', 'buddypress' ); ?></label>
     1332                <label id="title-prompt-text" for="title"><?php echo esc_html_x( 'Name (required)', 'XProfile admin edit field', 'buddypress' ); ?></label>
    13331333                <input type="text" name="title" id="title" value="<?php echo esc_attr( $this->name ); ?>" autocomplete="off" />
    13341334            </div>
Note: See TracChangeset for help on using the changeset viewer.