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

Improve Accessibility of tracker.js #184

Merged
merged 1 commit into from Nov 17, 2018

Conversation

Projects
None yet
2 participants
@Empty2k12
Copy link
Contributor

commented Nov 16, 2018

fathom is creating an image element for tracking which is not accessibility compliant.

This severely lowers my https://web.dev/measure score.

screenshot 2018-11-16 at 15 32 50 redacted

This PR is adding an empty alt tag and the aria-hidden tag to indicate irrelevance of the image to screenreaders.

To tell assistive technology to ignore an image, use a "blank alternative text" attribute: alt="".
https://dequeuniversity.com/rules/axe/2.2/image-alt?application=lighthouse

@dannyvankooten dannyvankooten merged commit a66f9ed into usefathom:master Nov 17, 2018

@dannyvankooten

This comment has been minimized.

Copy link
Collaborator

commented Nov 17, 2018

Makes total sense. Thank you @Empty2k12!

@Empty2k12 Empty2k12 deleted the Empty2k12:tracker-accessibility branch Nov 19, 2018

@Empty2k12

This comment has been minimized.

Copy link
Contributor Author

commented Nov 19, 2018

Awesome, thanks for merging so quickly. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.