We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fab15f commit 7629b03Copy full SHA for 7629b03
templates/blog/_comment_form.html.twig
@@ -22,7 +22,7 @@
22
{{ form_errors(form) }}
23
24
<div class="form-group {% if not form.content.vars.valid %}has-error{% endif %}">
25
- {{ form_label(form.content, 'label.content', {label_attr: {class: 'hidden'}}) }}
+ {{ form_label(form.content, 'label.content', {label_attr: {class: 'sr-only'}}) }}
26
27
{# Render any errors for the "content" field (e.g. when a class property constraint failed) #}
28
{{ form_errors(form.content) }}
0 commit comments