TransWikia.com

How can we correct an ALT attribute accessibility issue with the igodigital tracking code?

Salesforce Asked by Amy P on February 13, 2021

The tracking code from SalesForce is causing accessibility issues because it’s got a title tag, but no alt attribute. Assistive technology will often skip the title tag and instead rely on the alt attribute, so this is a WCAG level A accessibility issue. We need the code to change from this:

img src=”https://nova.collect.igodigital.com/c2/7237681/track_page_view?payload=URL coding goes here….” width=”0″ height=”0″ title=”blank image” aria-hidden=”true” style=”display: none;”

to this:

img src=”https://nova.collect.igodigital.com/c2/7237681/track_page_view?payload=URL coding goes here….” width=”0″ height=”0″ alt=”” style=”display: none;”

The aria-hidden is not necessary and the title tag is not necessary. Including alt=”” tells the screenreader that the image is decorative and it will skip reading it altogether.

How can we make this happen? Is there someone at SalesForce we need to contact? The code is coming through tags so we don’t have direct access to it…

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP