Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/cupper-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorzwbetz-gh <zwbetz@gmail.com>2020-06-11 04:01:12 +0300
committerzwbetz-gh <zwbetz@gmail.com>2020-06-11 04:01:12 +0300
commit5e2ff37e94d1229ab801a7f2ef3aef3513726127 (patch)
treee83b0455a552aa76d1e0cceba66684f779b3d475 /assets
parentf6708d1cf4a987f52d1820439f809323ee1ea788 (diff)
fix accessibility issues
Diffstat (limited to 'assets')
-rw-r--r--assets/js/template-dom-scripts.js1
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);