We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Actually there is no theme where the labels are set as input.
There should be set a theme where the labels are set as inputs
{% extends 'SuluFormBundle:themes:dynamic.html.twig' %} {%- block form_row -%} {{ block('sulu_form_row_start') }} {{- form_label(form, null, {label_attr: { class: 'sr-only' }} ) -}} {{- form_errors(form) -}} {{- form_widget(form, { attr: { placeholder: label|strip_tags } }) -}} {{ block('sulu_form_row_end') }} {%- endblock -%} {%- block choice_row -%} {{ block('sulu_form_row_start') }} {{- form_label(form) -}} {{- form_errors(form) -}} {{- form_widget(form) -}} {{ block('sulu_form_row_end') }} {%- endblock -%} {%- block checkbox_row -%} {{ block('sulu_form_row_start') }} {{- form_errors(form) -}} {{- form_widget(form) -}} {{- form_label(form) -}} {{ block('sulu_form_row_end') }} {%- endblock -%}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Actual Behavior
Actually there is no theme where the labels are set as input.
Expected Behavior
There should be set a theme where the labels are set as inputs
Possible Solutions
You need to add a .sr-only class for accessibility. ( http://a11yproject.com/posts/how-to-hide-content/ )
The text was updated successfully, but these errors were encountered: