From 71b20aa7e272fbe22cd0c92eec5eb4d2ca013e2c Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 17 Jul 2019 23:12:54 -0700 Subject: [PATCH] HTML validation: Fix login page HTML errors. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "http://localhost:9981/accounts/find/":121.29-121.53: error: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. "http://localhost:9981/login/":168.41-168.94: error: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. Signed-off-by: Anders Kaseorg --- templates/zerver/find_account.html | 2 +- templates/zerver/login.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/zerver/find_account.html b/templates/zerver/find_account.html index 5288a1358f..5f46ca6b46 100644 --- a/templates/zerver/find_account.html +++ b/templates/zerver/find_account.html @@ -38,7 +38,7 @@
- +
diff --git a/templates/zerver/login.html b/templates/zerver/login.html index 0e0db56e11..76bd5367d5 100644 --- a/templates/zerver/login.html +++ b/templates/zerver/login.html @@ -129,7 +129,7 @@ {% endif %}