reverted:
--- b/themes/bartik/template.php
+++ a/themes/bartik/template.php
@@ -133,12 +133,12 @@
function bartik_field__taxonomy_term_reference($variables) {
$output = '';
+ // Render the label, if it's not hidden.
- // Render the label either as a visible list or make it invisible for accessibility.
if (!$variables['label_hidden']) {
$output .= '
' . $variables['label'] . ':
';
}
else {
+ $output .= '' . $variables['label'] . ':
';
- $output .= '' . $variables['label'] . ':
';
}
// Render the items.
only in patch2:
unchanged:
--- a/core/themes/bartik/template.php
+++ b/core/themes/bartik/template.php
@@ -133,10 +133,9 @@ function bartik_menu_tree($variables) {
function bartik_field__taxonomy_term_reference($variables) {
$output = '';
- // Render the label, if it's not hidden.
- if (!$variables['label_hidden']) {
- $output .= '' . $variables['label'] . ':
';
- }
+ // Render the label either as a visible list or make it invisible for accessibility.
+ $label_class = (!$variables['label_hidden']) ? 'field-label' : 'element-invisible';
+ $output .= '' . $variables['label'] . ':
';
// Render the items.
$output .= ($variables['element']['#label_display'] == 'inline') ? '