wcag svg tweak

This commit is contained in:
Heydon Pickering 2017-07-24 11:12:46 +01:00
parent 9ce234ea77
commit 0ea3d6897e
3 changed files with 6 additions and 6 deletions

View File

@ -394,7 +394,7 @@ I can reference the {{% pattern "Notes & warnings" %}} pattern here.
<li>
<strong><a href="https://www.w3.org/TR/WCAG20/#keyboard-operation-keyboard-operable">
<svg class="wcag-icon" viewBox="0 0 127.09899 67.763" width="127" height="68" aria-hidden="true"><use xlink:href="#w3c"></use></svg>
<svg class="wcag-icon" viewBox="0 0 127.09899 67.763" aria-hidden="true"><use xlink:href="#w3c"></use></svg>
2.1.1 Keyboard</a> (level A)
</strong>
@ -478,7 +478,7 @@ I can reference the &#x7b;{% pattern "Notes & warnings" %}} pattern here.
<li>
<strong><a href="https://www.w3.org/TR/WCAG20/#ensure-compat-rsv">
<svg class="wcag-icon" viewBox="0 0 127.09899 67.763" width="127" height="68" aria-hidden="true"><use xlink:href="#w3c"></use></svg>
<svg class="wcag-icon" viewBox="0 0 127.09899 67.763" aria-hidden="true"><use xlink:href="#w3c"></use></svg>
4.1.2 Name, Role, Value</a> (level A)
</strong>
@ -563,7 +563,7 @@ I can reference the &#x7b;{% pattern "Notes & warnings" %}} pattern here.
<li>
<strong><a href="https://www.w3.org/TR/WCAG20/#keyboard-operation-keyboard-operable">
<svg class="wcag-icon" viewBox="0 0 127.09899 67.763" width="127" height="68" aria-hidden="true"><use xlink:href="#w3c"></use></svg>
<svg class="wcag-icon" viewBox="0 0 127.09899 67.763" aria-hidden="true"><use xlink:href="#w3c"></use></svg>
2.1.1 Keyboard</a> (level A):
</strong>
@ -650,7 +650,7 @@ I can reference the &#x7b;{% pattern "Notes & warnings" %}} pattern here.
<li>
<strong><a href="https://www.w3.org/TR/WCAG20/#ensure-compat-rsv">
<svg class="wcag-icon" viewBox="0 0 127.09899 67.763" width="127" height="68" aria-hidden="true"><use xlink:href="#w3c"></use></svg>
<svg class="wcag-icon" viewBox="0 0 127.09899 67.763" aria-hidden="true"><use xlink:href="#w3c"></use></svg>
4.1.2 Name, Role, Value</a> (level A):
</strong>

File diff suppressed because one or more lines are too long

View File

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