Make 'Hide' button identify as a link

It looks like a link so its semantics should
identify it as one.

This can effect users of speech recognition
software, in scenarios where they instruct it to
click an element which looks like one thing but
the software can only identify as something else.
This commit is contained in:
Tom Byers
2020-01-09 09:26:40 +00:00
parent 045597403f
commit 07ca407343

View File

@@ -23,7 +23,7 @@
<p class="notify-cookie-banner__confirmation-message govuk-body">
You can <a class="govuk-link" href="/cookies">change your cookie settings</a> at any time.
</p>
<button class="notify-cookie-banner__hide-button" data-hide-cookie-banner="true">Hide</button>
<button class="notify-cookie-banner__hide-button govuk-link" data-hide-cookie-banner="true" role="link">Hide</button>
</div>
</div>
{% endmacro %}