APIs & Integrations

jn-dev
Member

Potential a11y bug?

SOLVE

Hi I added the hubspot tracking script in my app to add a chatbot which shows a hubspot cookie banner. Then in my cypress e2e tests I ran a11y checks and got a error which I could not really do anything about. So the error is Some page content is not contained by landmarks, and the element's id is #hs-eu-cookie-confirmation. This is added by Hubspot and the fix can be a simple fix to satisfy a11y checks by maybe adding a role attribute to the element. But I can't modify it and it needs to be updated on hubspots end I assume. 

 

Thoughts on this potential a11y bug?Screen Shot 2021-08-26 at 5.23.40 PM.png

0 Upvotes
1 Accepted solution
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Potential a11y bug?

SOLVE

Hey @jn-dev ,

 

Here's an update!

 

We have deployed a change that adds an ARIA role to the div of the banner. Let me know if this fix the issue 🙂 

View solution in original post

2 Replies 2
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Potential a11y bug?

SOLVE

Hey @jn-dev ,

 

Here's an update!

 

We have deployed a change that adds an ARIA role to the div of the banner. Let me know if this fix the issue 🙂 

WendyGoh
HubSpot Employee
HubSpot Employee

Potential a11y bug?

SOLVE

Hey @jn-dev,

 

Happy to help here 🙂 

 

Thanks for pointing this out! 

 

For this case, I've reached out to our internal team to check on it and I'll keep you posted here.

0 Upvotes