Skip to content

Commit

Permalink
Improve Accessibility (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Empty2k12 authored and dannyvankooten committed Nov 17, 2018
1 parent da87d2a commit a66f9ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/src/js/tracker.js
Expand Up @@ -166,6 +166,8 @@

let url = config.trackerUrl || findTrackerUrl()
let img = document.createElement('img');
img.setAttribute('alt', '');
img.setAttribute('aria-hidden', 'true');
img.src = url + stringifyObject(d);
img.addEventListener('load', function() {
let now = new Date();
Expand Down Expand Up @@ -208,4 +210,4 @@

// process existing queue
queue.forEach((i) => fathom.apply(this, i));
})()
})()

0 comments on commit a66f9ed

Please sign in to comment.