mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
Make button more buttony
`role=button` for users of voice control software `draggable=false` as per https://github.com/alphagov/govuk-frontend/pull/1020
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
Try GOV.UK Notify now if you work in central government, a local authority, or the NHS.
|
Try GOV.UK Notify now if you work in central government, a local authority, or the NHS.
|
||||||
</p>
|
</p>
|
||||||
<div class="button-container">
|
<div class="button-container">
|
||||||
<a class="button button-start" href='{{ url_for('.register' )}}'>
|
<a class="button button-start" role="button" draggable="false" href='{{ url_for('.register' )}}'>
|
||||||
Create an account
|
Create an account
|
||||||
</a>
|
</a>
|
||||||
or <a href="{{ url_for('.sign_in' )}}">sign in</a> if you’ve used
|
or <a href="{{ url_for('.sign_in' )}}">sign in</a> if you’ve used
|
||||||
|
|||||||
@@ -21,6 +21,10 @@ def test_non_logged_in_user_can_see_homepage(
|
|||||||
'Send emails, text messages and letters to your users'
|
'Send emails, text messages and letters to your users'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
assert page.select_one('a[role=button][draggable=false]')['href'] == url_for(
|
||||||
|
'main.register'
|
||||||
|
)
|
||||||
|
|
||||||
assert page.select_one('meta[name=description]')['content'].strip() == (
|
assert page.select_one('meta[name=description]')['content'].strip() == (
|
||||||
'GOV.UK Notify lets you send emails, text messages and letters '
|
'GOV.UK Notify lets you send emails, text messages and letters '
|
||||||
'to your users. Try it now if you work in central government, a '
|
'to your users. Try it now if you work in central government, a '
|
||||||
|
|||||||
Reference in New Issue
Block a user