Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing alt-text pixel in tracking image conflicts in mail-tester.com #298

Closed
Rommert opened this issue Feb 25, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Rommert
Copy link

Rommert commented Feb 25, 2022

Describe the bug

Maybe not a deal breaker. The test report from mail-tester.com shows a message about a 'missing alt-text' of the tracking image.

alt="" is the most appropriate approach in this case - this tells the screenreader that the image is purely decorative and should be ignored. Since tracking pixels do not visually convey information, they are essentially decorative from this point of view. What do you think, @bencroker ?

      $htmlBody .= '<img src="'.$trackingImageUrl.'" width="1" height="1" alt="" />';
@Rommert Rommert added the bug Something isn't working label Feb 25, 2022
@bencroker
Copy link
Collaborator

Thanks, added in 9d45d1f for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants