Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/19/2011 08:18:24 PM (13 years ago)
Author:
djpaul
Message:

Improve a11y and i18n on group create/edit screens. Fixes #3356

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/groups/single/admin.php

    r4675 r4722  
    1414    <?php do_action( 'bp_before_group_details_admin' ); ?>
    1515
    16     <label for="group-name">* <?php _e( 'Group Name', 'buddypress' ) ?></label>
    17     <input type="text" name="group-name" id="group-name" value="<?php bp_group_name() ?>" />
    18 
    19     <label for="group-desc">* <?php _e( 'Group Description', 'buddypress' ) ?></label>
    20     <textarea name="group-desc" id="group-desc"><?php bp_group_description_editable() ?></textarea>
     16    <label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label>
     17    <input type="text" name="group-name" id="group-name" value="<?php bp_group_name() ?>" aria-required="true" />
     18
     19    <label for="group-desc"><?php _e( 'Group Description (required)', 'buddypress' ); ?></label>
     20    <textarea name="group-desc" id="group-desc" aria-required="true"><?php bp_group_description_editable() ?></textarea>
    2121
    2222    <?php do_action( 'groups_custom_group_fields_editable' ) ?>
Note: See TracChangeset for help on using the changeset viewer.