This commit is contained in:
zwbetz-gh 2022-05-30 21:33:30 -05:00
parent efbc6acf90
commit d5ffe2f369
11 changed files with 12 additions and 12 deletions

View File

@ -70,7 +70,7 @@
var link = document.createElement('a');
link.setAttribute('href', '#' + id);
link.innerHTML = '<svg aria-hidden="true" class="link-icon" viewBox="0 0 50 50" focusable="false"> <use xlink:href="#link"></use> </svg>';
link.innerHTML = '<svg aria-hidden="true" class="link-icon" viewBox="0 0 50 50" focusable="false"> <use href="#link"></use> </svg>';
container.appendChild(link);

View File

View File

@ -20,7 +20,7 @@
viewBox="0 0 40 50"
focusable="false"
>
<use xlink:href="#bookmark"></use>
<use href="#bookmark"></use>
</svg>
{{ .Title }}
</a>

View File

@ -7,7 +7,7 @@
<h2>
<a href="{{ .Page.RelPermalink }}">
<svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
<use xlink:href="#tag"></use>
<use href="#tag"></use>
</svg>
{{ printf "(%d) %s" .Count .Page.Title }}
</a>

View File

@ -2,7 +2,7 @@
<h2 class="vh">{{ T "nav_main_navigation" }}</h2>
<button id="menu-button" aria-expanded="false">
<svg viewBox="0 0 50 50" aria-hidden="true" focusable="false">
<use xlink:href="#menu"></use>
<use href="#menu"></use>
</svg>
{{ T "nav_button_menu" }}
</button>
@ -16,7 +16,7 @@
{{ $active = or $active (and (eq .Name "Tags") (eq $current.Section "tags")) }}
<a href="{{ .URL }}" {{ if $active }}aria-current="page"{{ end }}>
<svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50">
<use xlink:href="#bookmark"></use>
<use href="#bookmark"></use>
</svg>
<span class="text">{{ .Name }}</span>
</a>

View File

@ -2,7 +2,7 @@
<main id="main">
<h1>
<svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50" focusable="false">
<use xlink:href="#bookmark"></use>
<use href="#bookmark"></use>
</svg>
{{ .Title }}
</h1>
@ -26,7 +26,7 @@
{{ range . }}
<li>
<svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
<use xlink:href="#tag"></use>
<use href="#tag"></use>
</svg>
{{ $href := print ("tags/" | relLangURL) (. | urlize) "/" }}
<a href="{{ $href }}">{{ . }}</a>

View File

@ -1,7 +1,7 @@
<aside aria-label="note" class="note">
<div>
<svg class="sign" aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false">
<use xlink:href="#info"></use>
<use href="#info"></use>
</svg>
{{ .Inner | markdownify }}
</div>

View File

@ -9,7 +9,7 @@
<strong>
<a href="https://inclusivedesignprinciples.org#{{ .title | urlize }}">
<svg class="balloon-icon" viewBox="0 0 141.73228 177.16535" aria-hidden="true" focusable="false">
<use xlink:href="#balloon"></use>
<use href="#balloon"></use>
</svg>
{{ .title }}
</a>:

View File

@ -5,7 +5,7 @@
<tr>
<th scope="row">
<svg viewBox="0 0 177.16535 177.16535" focusable="false" aria-hidden="true">
<use xlink:href="#tick"></use>
<use href="#tick"></use>
</svg>
Tested using
</th>

View File

@ -1,7 +1,7 @@
<aside aria-label="warning" class="note warning">
<div>
<svg class="sign" aria-hidden="true" viewBox="0 0 48.430474 41.646302" focusable="false">
<use xlink:href="#warning"></use>
<use href="#warning"></use>
</svg>
{{ .Inner | markdownify }}
</div>

View File

@ -8,7 +8,7 @@
<li>
<strong><a href="{{ .url }}">
<svg class="wcag-icon" viewBox="0 0 127.09899 67.763" aria-hidden="true" focusable="false">
<use xlink:href="#w3c"></use>
<use href="#w3c"></use>
</svg>
{{ .ref_id }} {{ .title }}</a> (level {{ .level }}){{ if $descriptions }}:{{ end }}
</strong>