Zen Follower
- Join Date:
- Jun 2008
- Posts:
- 128
- Plugin Contributions:
- 0
[not a bug] Label missing on radio field if only one attribute is available
I think it's a bug as all form items need to have labels for accesibility (screen readers)
zc1.3.8a
modules/attributes.php
line 564
$options_name[] = $products_options_names->fields['products_options_name'];
```Should be replaced with
```php
$options_name[] = '<label class="attribsRadioButton" for="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '">' . $products_options_names->fields['products_options_name'] . '</label>';