Allow images to be ignored by assistive technology in Outlook and Mail
I am a software developer working for the UK government on a service that sends emails.
We send HTML emails and have images in them which are only useful visually. We give them blank alt text to mark them to be ignored by the email program.
Using Outlook 2016 and Windows 10 Mail with JAWS and NVDA, the images are still included in what is spoken. Their URLs are announced as part of the email text.
I have also tried giving them aria-hidden="true" and role="presentation" to mark them as presentational but this information is not being conveyed to screenreaders.
Can you advise how we can make sure the images are ignored for users of Outlook 2016 and Windows 10 Mail?
In some Office 365 versions of Outlook and Word, there is now an option to tag an image as “decorative”. Then, when sending an email or document, a recipient’s screen reader should ignore the image.