| @@ -43,9 +43,9 @@ | ||
| 43 | 43 | if (ArrayHelper::get($data, 'settings.validation_rules.required.value')) { |
| 44 | 44 | $ariaRequired = 'true'; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - $ariaLabelledBy = 'label_' . ArrayHelper::get($data, 'attributes.id'); | |
| 47 | + $ariaLabelledBy = esc_attr('label_' . ArrayHelper::get($data, 'attributes.id')); | |
| 48 | 48 | $elMarkup = '<textarea aria-required="' . $ariaRequired . '" aria-labelledby="' . $ariaLabelledBy . '" %s>%s</textarea>'; |
| 49 | 49 | |
| 50 | 50 | $atts = $this->buildAttributes($data['attributes']); |
| 51 | 51 | |