From 8d116aaae32dc97a56fbebf206e10790399ebe2c Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 13 Feb 2017 11:49:00 +0000 Subject: [PATCH] Use valid HTML value for autocomplete attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We had a valid reason for setting this to `nope` (see 2124821e0078dda16e51c2a668558a331ef49156). But it’s not valid HTML, so got us a fail in the accessibility audit. --- app/templates/views/register.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/register.html b/app/templates/views/register.html index 3ac55b7d8..cd532bea0 100644 --- a/app/templates/views/register.html +++ b/app/templates/views/register.html @@ -11,7 +11,7 @@ Create an account

Create an account

-
+ {{ textbox(form.name, width='3-4') }} {{ textbox(form.email_address, hint="Must be from a central government organisation", width='3-4', safe_error_message=True) }} {{ textbox(form.mobile_number, width='3-4', hint='We’ll send you a security code by text message') }}