Skip to:
Content

BuddyPress.org

Changeset 10078


Ignore:
Timestamp:
09/01/2015 09:06:39 PM (9 years ago)
Author:
mercime
Message:

Fix 'for' value of label in Messages > Compose.

Accessibility fix to bind label and textarea by matching the 'for'
value of the label tag with the 'id' value of the textarea input
field in the Message > Compose template.

See #6531

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php

    r9896 r10078  
    2525    <input type="text" name="subject" id="subject" value="<?php bp_messages_subject_value(); ?>" />
    2626
    27     <label for="content"><?php _e( 'Message', 'buddypress' ); ?></label>
     27    <label for="message_content"><?php _e( 'Message', 'buddypress' ); ?></label>
    2828    <textarea name="content" id="message_content" rows="15" cols="40"><?php bp_messages_content_value(); ?></textarea>
    2929
Note: See TracChangeset for help on using the changeset viewer.