Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/23/2017 09:31:25 PM (3 years ago)
Author:
mercime
Message:

xProfile: Add fieldset to group related form controls.

See #7348.

File:
1 edited

Legend:

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

    r11617 r11618  
    7474        ) ); ?>
    7575
    76         <label for="<?php bp_the_profile_field_input_name(); ?>[]">
     76        <legend id="<?php bp_the_profile_field_input_name(); ?>-1">
    7777            <?php bp_the_profile_field_name(); ?>
    7878            <?php bp_the_profile_field_required_label(); ?>
    79         </label>
     79        </legend>
    8080
    8181        <?php
     
    8484        do_action( bp_get_the_profile_field_errors_action() ); ?>
    8585
    86         <select <?php echo $this->get_edit_field_html_elements( $r ); ?> aria-describedby="<?php bp_the_profile_field_input_name(); ?>-3">
     86        <select <?php echo $this->get_edit_field_html_elements( $r ); ?> aria-labelledby="<?php bp_the_profile_field_input_name(); ?>-3">
    8787            <?php bp_the_profile_field_options( array(
    8888                'user_id' => $user_id
Note: See TracChangeset for help on using the changeset viewer.