We've recently begun using Google Tag Manager on our site, as well as using a tool that tests accessibility.
Running our site against WCAG 2.0 Level A results in an error (WCAG 2.0 Level A 2.4.1 and 4.1.2) when it comes to the iframe
generated by Google Tag Manager.
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXX" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
Frame titles are a little new to me, so what is the recommendation on the title for this element? HTML img elements allow for an empty alt/title attribute (<img src="cosmetic-image.jpg" alt="" />
); can we do the same here, or does it impact accessibility for users?
To hopefully add a bit more clarity on what I'm looking for, for a user with accessibility needs, how can I denote that an iframe/frame provides no content the user would need to read/use?
My initial feeling was to put 'Google Tag Manager' as the title, but the average user isn't going to understand that, versus if there were content and I was putting 'Global Navigation,' 'Main Content,' or the like.
<img src='blah.jpg' alt='' />
, but I don't know what something like this would need. For a user with accessibility needs, how can I denote that an iframe provides no content the user would need to read/use? I'll append this onto my original question.