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-group.php

    r11030 r11169  
    748748                            <div id="titlediv">
    749749                                <div class="titlewrap">
    750                                     <label id="title-prompt-text" for="title"><?php esc_html_e( 'Field Group Name', 'buddypress') ?></label>
     750                                    <label id="title-prompt-text" for="title"><?php esc_html_e( 'Field Group Name (required)', 'buddypress') ?></label>
    751751                                    <input type="text" name="group_name" id="title" value="<?php echo esc_attr( $this->name ); ?>" autocomplete="off" />
    752752                                </div>
Note: See TracChangeset for help on using the changeset viewer.