fix 71
This commit is contained in:
parent
efbc6acf90
commit
d5ffe2f369
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
var link = document.createElement('a');
|
var link = document.createElement('a');
|
||||||
link.setAttribute('href', '#' + id);
|
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);
|
container.appendChild(link);
|
||||||
|
|
||||||
|
|
0
exampleSite/.hugo_build.lock
Normal file
0
exampleSite/.hugo_build.lock
Normal file
|
@ -20,7 +20,7 @@
|
||||||
viewBox="0 0 40 50"
|
viewBox="0 0 40 50"
|
||||||
focusable="false"
|
focusable="false"
|
||||||
>
|
>
|
||||||
<use xlink:href="#bookmark"></use>
|
<use href="#bookmark"></use>
|
||||||
</svg>
|
</svg>
|
||||||
{{ .Title }}
|
{{ .Title }}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<h2>
|
<h2>
|
||||||
<a href="{{ .Page.RelPermalink }}">
|
<a href="{{ .Page.RelPermalink }}">
|
||||||
<svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
|
<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>
|
</svg>
|
||||||
{{ printf "(%d) %s" .Count .Page.Title }}
|
{{ printf "(%d) %s" .Count .Page.Title }}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<h2 class="vh">{{ T "nav_main_navigation" }}</h2>
|
<h2 class="vh">{{ T "nav_main_navigation" }}</h2>
|
||||||
<button id="menu-button" aria-expanded="false">
|
<button id="menu-button" aria-expanded="false">
|
||||||
<svg viewBox="0 0 50 50" aria-hidden="true" focusable="false">
|
<svg viewBox="0 0 50 50" aria-hidden="true" focusable="false">
|
||||||
<use xlink:href="#menu"></use>
|
<use href="#menu"></use>
|
||||||
</svg>
|
</svg>
|
||||||
{{ T "nav_button_menu" }}
|
{{ T "nav_button_menu" }}
|
||||||
</button>
|
</button>
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
{{ $active = or $active (and (eq .Name "Tags") (eq $current.Section "tags")) }}
|
{{ $active = or $active (and (eq .Name "Tags") (eq $current.Section "tags")) }}
|
||||||
<a href="{{ .URL }}" {{ if $active }}aria-current="page"{{ end }}>
|
<a href="{{ .URL }}" {{ if $active }}aria-current="page"{{ end }}>
|
||||||
<svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50">
|
<svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50">
|
||||||
<use xlink:href="#bookmark"></use>
|
<use href="#bookmark"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<span class="text">{{ .Name }}</span>
|
<span class="text">{{ .Name }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<main id="main">
|
<main id="main">
|
||||||
<h1>
|
<h1>
|
||||||
<svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50" focusable="false">
|
<svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50" focusable="false">
|
||||||
<use xlink:href="#bookmark"></use>
|
<use href="#bookmark"></use>
|
||||||
</svg>
|
</svg>
|
||||||
{{ .Title }}
|
{{ .Title }}
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<li>
|
<li>
|
||||||
<svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false">
|
<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>
|
</svg>
|
||||||
{{ $href := print ("tags/" | relLangURL) (. | urlize) "/" }}
|
{{ $href := print ("tags/" | relLangURL) (. | urlize) "/" }}
|
||||||
<a href="{{ $href }}">{{ . }}</a>
|
<a href="{{ $href }}">{{ . }}</a>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<aside aria-label="note" class="note">
|
<aside aria-label="note" class="note">
|
||||||
<div>
|
<div>
|
||||||
<svg class="sign" aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false">
|
<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>
|
</svg>
|
||||||
{{ .Inner | markdownify }}
|
{{ .Inner | markdownify }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<strong>
|
<strong>
|
||||||
<a href="https://inclusivedesignprinciples.org#{{ .title | urlize }}">
|
<a href="https://inclusivedesignprinciples.org#{{ .title | urlize }}">
|
||||||
<svg class="balloon-icon" viewBox="0 0 141.73228 177.16535" aria-hidden="true" focusable="false">
|
<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>
|
</svg>
|
||||||
{{ .title }}
|
{{ .title }}
|
||||||
</a>:
|
</a>:
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<svg viewBox="0 0 177.16535 177.16535" focusable="false" aria-hidden="true">
|
<svg viewBox="0 0 177.16535 177.16535" focusable="false" aria-hidden="true">
|
||||||
<use xlink:href="#tick"></use>
|
<use href="#tick"></use>
|
||||||
</svg>
|
</svg>
|
||||||
Tested using
|
Tested using
|
||||||
</th>
|
</th>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<aside aria-label="warning" class="note warning">
|
<aside aria-label="warning" class="note warning">
|
||||||
<div>
|
<div>
|
||||||
<svg class="sign" aria-hidden="true" viewBox="0 0 48.430474 41.646302" focusable="false">
|
<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>
|
</svg>
|
||||||
{{ .Inner | markdownify }}
|
{{ .Inner | markdownify }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<li>
|
<li>
|
||||||
<strong><a href="{{ .url }}">
|
<strong><a href="{{ .url }}">
|
||||||
<svg class="wcag-icon" viewBox="0 0 127.09899 67.763" aria-hidden="true" focusable="false">
|
<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>
|
</svg>
|
||||||
{{ .ref_id }} {{ .title }}</a> (level {{ .level }}){{ if $descriptions }}:{{ end }}
|
{{ .ref_id }} {{ .title }}</a> (level {{ .level }}){{ if $descriptions }}:{{ end }}
|
||||||
</strong>
|
</strong>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user