0

I'm currently using this

Control Adapter that will append or insert an 'alt=""' tag to comply with the WCAG F38 test that indicates decorate images should have alt tags.

So I have deployed WSP file on local. and tested using WAVE chrome extension, so I found that some image tag still don't have alt attribute.

Means it will skips some Image tag to add alt attribute in SharePoint Master Page.

I'm facing this issue on production environment.

enter image description here

1 Answer 1

1

Most likely because those IMGs are added async, so are not there when your WSP code runs.

Add a Client Side eventlistener that triggers on new DOM nodes being added,
then proces new IMG tags as they are added to the DOM

https://davidwalsh.name/dom-events-javascript

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.