Null alt text instead of alt="Image"

I’ve found a few other closed threads on this topic but no workable solution that meets WCAG compliance. I want to make sure that decorative images have correct null alt text (alt="") but there’s no way to do this effectively in Cornerstone that I can find. This staff response recommends adding a space, but this contradicts W3C because a space may not be ignored by assistive devices.

Is there any way to remove/edit the default behavior (alt=“Image”)?

For future enhancements, an option to mark an image as decorative would be really useful and incorporate a best practice for accessibility into your otherwise stellar product. Microsoft has moved to this method in their Office products in the last year, for example.

Hi @bradpwalker,

Thank you for writing in, this has already been added to our issue tracker. In the meantime, you can remove the alt attribute using the jQuery .removeAttr() function.

Using jQuery Remove Attribute Function Explained

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.