Fix button not allowed inside anchor in footer - HTML validator complaint (#551)
Move attributes to anchor and remove not required span (which was used place of a button which was against HTML spec).
This commit is contained in:
parent
d76bc91ed0
commit
8456ad83ae
|
@ -14,12 +14,10 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if (not .Site.Params.disableScrollToTop) }}
|
{{- if (not .Site.Params.disableScrollToTop) }}
|
||||||
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)">
|
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g">
|
||||||
<button class="top-link" id="top-link" type="button" accesskey="g">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
|
||||||
<path d="M12 6H0l6-6z" />
|
<path d="M12 6H0l6-6z" />
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
|
||||||
</a>
|
</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue