We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Sep 28, 2021 12:47 PM - edited Sep 28, 2021 12:48 PM
Blog comment input elements are missing a label attribute which is a WCAG violation. I am trying to make my website accessible. I cannot add the label attribute manually since blog_comments is a hubspot default module.
Solved! Go to Solution.
Sep 29, 2021 8:45 AM
Hi @AMMehta ,
Use this code in your blog post. Template comments form will show and set layout accordingly.
{% if group.allow_comments %}
<div class="blog-comments">
{% module 'blog_comments'
path='@hubspot/blog_comments',
label="Blog comments"
%}
</div>
{% endif %}
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.
Sep 29, 2021 8:45 AM
Hi @AMMehta ,
Use this code in your blog post. Template comments form will show and set layout accordingly.
{% if group.allow_comments %}
<div class="blog-comments">
{% module 'blog_comments'
path='@hubspot/blog_comments',
label="Blog comments"
%}
</div>
{% endif %}
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.