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).
Jan 16, 2019 7:34 PM
I am working on a website redesign where my client needs their website to have 100% Section 508 compliance and ADA Accessibility AA standards.
I have already reviewed Hubspot's article on ADA compliance. And that seems very straightforward.
The three biggest issues I am trying to find workarounds for within the Hubspot CMS are:
1.
No TITLE attributes found for the frames on these pages. Add a TITLE attribute to each FRAME and IFRAME element (e.g. TITLE="Main Content"). Without a TITLE some screen readers read out the FRAME filename, which is usually meaningless.
Specifically the one related to hbspt-forms: <iframe name="target_iframe_bc4212ea-d953-4120-a112-973453f4fbe8_7258" style="display:none;" data-reactid=".hbspt-forms-0.8"></iframe>
2.
This INPUT button has no VALUE attribute and no programmatically determined name. A programmatically determined name allows screen readers to tell the user what the control does.
To add a name do one of the following:
- Add a VALUE attribute saying what the button does
- Add a TITLE attribute
- Add an ARIA-LABELLEDBY attribute (not supported in all screen readers)
- Add an ARIA-LABEL attribute (not supported in all screen readers) Here is the code we believe it is referencing…but the value is not in the source code:
Source Code: (does not contain value attribute)
<div id="hs_form_target_module_1544123412256121_blog_subscribe_3477"></div>
After Page Loads: (does contain value attribute)
<input type="submit" value="Subscribe" class="hs-button primary large" data-reactid=".hbspt-forms-0.5.1.0">
3.
The report also mentions issues with 3rd party IFRAMEs that are hosted on 3rd party servers (we do not have control over this code). Other than removing the 3rd party IFRAMEs, is there any way to ensure that these are ADA compliant by including value attributes?
Also if anyone has any recommendations for tools that they use for ADA compliance analysis they've used in the past that would be helpful. Thanks!
Sep 15, 2021 6:18 AM
We are also looking for help from Hubspot on how we can add ARIA labels, not just in forms.
Jun 9, 2020 9:55 AM
Does anyone have a solution for this I've been struggling attempting to fix that hubspot forms error messages don't get read on screen readers as they are missing the various aria labels and describedby etc.
Jun 11, 2021 5:19 AM
We have the same issues as well. The alerts are not being read by screen readers. We have attempted to address other accessibilities but the validation errors were trickier to handle.
Jul 24, 2019 4:25 PM
@seanfarias if you use the form's javascript embed instead of the iframe embed you won't have the missing title issue.
Jul 25, 2019 7:52 AM
Hi Stefan, I'm pretty sure I'm using the javascript embed?
<script src="//js.hs-scripts.com/0123456.js" id="hs-script-loader"></script>
But it's this embed that injects the iframe into the page... that's what I thought happened, but I could be wrong?
Nice site btw 🙂
Jul 25, 2019 8:53 AM - edited Jul 25, 2019 8:53 AM
@designdpi Once you go into the form's options and use the "Unstyled form" option, it will render the html directly on the page instead of inside an iframe. See screenshot:
You will have to get the new embed code once that option is checked.
Jul 25, 2019 9:34 AM
Thanks for the heads up Stefan, I'll go take a look now!
Jul 17, 2019 9:44 AM
Hi @jennysowyrda,
I agree with the others here in thinking we are still looking for clarification specifically about Hubspot forms: How could we add accessible ARIA labels to the inputs in the form from Hubspot?
Would appreciate an update on this, as we might have to use another CRM if these 'Accessibility' issues can't be resolved?
Many thanks
Jul 19, 2019 1:02 PM
The way we've done it is by adding custom JS files to our pages that put those aria labels in the forms. While this shouldn't be needed in the first place, that might be your best bet until HubSpot updates their forms with these fixes.
Dec 14, 2021 8:16 AM - edited Dec 14, 2021 8:18 AM
@PatrickEng Would you mind sharing the javascript that you use? (I can't believe this is still an issue...)
Also, Stefen's solution below no longer seems applicable as the backend options don't match their screenshot.
Thank you!
Jul 24, 2019 3:09 PM
Hi all,
Thank you for your patience. I have confirmed with the team that improving this functionality is on their radar. While I do not have a timeline, they are aware of the need here.
Thank you,
Jenny
Jan 22, 2019 3:16 PM
Jun 25, 2019 10:29 AM
Hi @jennysowyrda,
I also think we are still looking for clarification specifically about Hubspot forms: How could we add accessible ARIA labels to the inputs in the form from Hubspot?
Mar 11, 2019 3:44 PM
Hi @jennysowyrda,
I think we are still looking for clarification specifically about Hubspot forms: How could we add accessible ARIA labels to the inputs in the form from Hubspot?
Best,
James