Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/25/2016 06:35:21 PM (9 years ago)
Author:
mercime
Message:

Accessibility: Bind labels explicitly in Email - Situations metabox.

This fix includes style tweaks to align label text.

Fixes #7082.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-walker-category-checklist.php

    r10530 r10811  
    8585            /** This filter is documented in wp-includes/category-template.php */
    8686            $output .= "\n<li id='{$taxonomy}-{$category->term_id}'$class>" .
    87                 '<label class="selectit"><input value="' . $category->slug . '" type="checkbox" name="'.$name.'[]" id="in-'.$taxonomy.'-' . $category->term_id . '"' .
     87                '<label for="in-'.$taxonomy.'-' . $category->term_id . '" class="selectit"><input value="' . $category->slug . '" type="checkbox" name="'.$name.'[]" id="in-'.$taxonomy.'-' . $category->term_id . '"' .
    8888                checked( in_array( $category->term_id, $args['selected_cats'] ), true, false ) .
    8989                disabled( empty( $args['disabled'] ), false, false ) . ' /> ' .
Note: See TracChangeset for help on using the changeset viewer.