Bläddra i källkod

changed section link text

Heydon Pickering 8 år sedan
förälder
incheckning
cf3b228fa0

+ 0 - 1
docs/css/styles.css

@@ -636,7 +636,6 @@ p:empty {
     color: #C83737;
 }
 /* SVG icons */
-
 a svg,
 button svg,
 h1 svg {

+ 1 - 1
docs/js/dom-scripts.js

@@ -69,7 +69,7 @@
       var link = document.createElement('a');
       link.setAttribute('href', '#' + id);
       var headingText = heading.textContent;
-      link.setAttribute('aria-label', 'To this ' + headingText + ' section');
+      link.setAttribute('aria-label', 'This ' + headingText + ' section');
       link.innerHTML = '<svg aria-hidden="true" viewBox="0 0 50 50" focusable="false"> <use xlink:href="#link"></use> </svg>';
 
       container.appendChild(link);

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
docs/service-worker.js


+ 0 - 1
themes/infusion/static/css/styles.css

@@ -636,7 +636,6 @@ p:empty {
     color: #C83737;
 }
 /* SVG icons */
-
 a svg,
 button svg,
 h1 svg {

+ 1 - 1
themes/infusion/static/js/dom-scripts.js

@@ -69,7 +69,7 @@
       var link = document.createElement('a');
       link.setAttribute('href', '#' + id);
       var headingText = heading.textContent;
-      link.setAttribute('aria-label', 'To this ' + headingText + ' section');
+      link.setAttribute('aria-label', 'This ' + headingText + ' section');
       link.innerHTML = '<svg aria-hidden="true" viewBox="0 0 50 50" focusable="false"> <use xlink:href="#link"></use> </svg>';
 
       container.appendChild(link);

Vissa filer visades inte eftersom för många filer har ändrats