diff options
author | zwbetz-gh <zwbetz@gmail.com> | 2020-06-11 04:01:12 +0300 |
---|---|---|
committer | zwbetz-gh <zwbetz@gmail.com> | 2020-06-11 04:01:12 +0300 |
commit | 5e2ff37e94d1229ab801a7f2ef3aef3513726127 (patch) | |
tree | e83b0455a552aa76d1e0cceba66684f779b3d475 /assets | |
parent | f6708d1cf4a987f52d1820439f809323ee1ea788 (diff) |
fix accessibility issues
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/template-dom-scripts.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/assets/js/template-dom-scripts.js b/assets/js/template-dom-scripts.js index a09330d..26e24c6 100644 --- a/assets/js/template-dom-scripts.js +++ b/assets/js/template-dom-scripts.js @@ -70,7 +70,6 @@ var link = document.createElement('a'); link.setAttribute('href', '#' + id); var headingText = heading.textContent; - link.setAttribute('aria-label', 'This ' + headingText + ' section'); link.innerHTML = '<svg aria-hidden="true" class="link-icon" viewBox="0 0 50 50" focusable="false"> <use xlink:href="#link"></use> </svg>'; container.appendChild(link); |