changed section link text
This commit is contained in:
parent
8bb7a3bdb3
commit
cf3b228fa0
|
@ -636,7 +636,6 @@ p:empty {
|
|||
color: #C83737;
|
||||
}
|
||||
/* SVG icons */
|
||||
|
||||
a svg,
|
||||
button svg,
|
||||
h1 svg {
|
||||
|
|
|
@ -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);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -636,7 +636,6 @@ p:empty {
|
|||
color: #C83737;
|
||||
}
|
||||
/* SVG icons */
|
||||
|
||||
a svg,
|
||||
button svg,
|
||||
h1 svg {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user