* @ingroup themeable
*/
#}
+{%
+ set title_classes = [
+ label_display == 'visually_hidden' ? 'visually-hidden',
+ ]
+%}
{% if label_hidden %}
{% if multiple %}
{% endif %}
{% else %}
<div{{ attributes }}>
- <div{{ title_attributes }}>{{ label }}</div>
+ <div{{ title_attributes.addClass(title_classes) }}>{{ label }}</div>
{% if multiple %}
<div>
{% endif %}