From 526cc24f432b26d09f255b24d5d0f7844917c967 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Mon, 9 Jul 2018 23:32:09 +0200 Subject: [PATCH] add: labels for checkboxes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Associating a checkbox with its label improves accessibility and makes it more convenient to toggle the checkbox. For most checkboxes, this adds an `id` for the checkbox and associates the label with it via the `for` attribute, but for checkboxes in a loop we can’t use that (multiple checkboxes would have the same `id`), so there the technique of wrapping the input inside the label is used instead. Change-Id: I01b3b8cc57bcdb667bae27f6d88e3c65533a21f5 --- .../pages/account/domain/PingConfigForm.templ | 8 ++++---- src/club/wpia/gigi/pages/main/Signup.templ | 2 +- .../wpia/gigi/pages/wot/RequestTTPForm.templ | 4 ++-- .../wpia/gigi/pages/wot/VerificationForm.templ | 18 +++++++++--------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/club/wpia/gigi/pages/account/domain/PingConfigForm.templ b/src/club/wpia/gigi/pages/account/domain/PingConfigForm.templ index e0a7a893..de82bb0a 100644 --- a/src/club/wpia/gigi/pages/account/domain/PingConfigForm.templ +++ b/src/club/wpia/gigi/pages/account/domain/PingConfigForm.templ @@ -1,7 +1,7 @@

-
>
+
>

@@ -11,21 +11,21 @@
-
>
+
>

.._auth IN TXT 
-
>
+
>
http://example.org/.txt

-
>
+
>
: diff --git a/src/club/wpia/gigi/pages/main/Signup.templ b/src/club/wpia/gigi/pages/main/Signup.templ index d8d28adf..b50e78ea 100644 --- a/src/club/wpia/gigi/pages/main/Signup.templ +++ b/src/club/wpia/gigi/pages/main/Signup.templ @@ -47,7 +47,7 @@ - ').?> + diff --git a/src/club/wpia/gigi/pages/wot/RequestTTPForm.templ b/src/club/wpia/gigi/pages/wot/RequestTTPForm.templ index 85d96f9d..04bcd076 100644 --- a/src/club/wpia/gigi/pages/wot/RequestTTPForm.templ +++ b/src/club/wpia/gigi/pages/wot/RequestTTPForm.templ @@ -8,8 +8,8 @@ diff --git a/src/club/wpia/gigi/pages/wot/VerificationForm.templ b/src/club/wpia/gigi/pages/wot/VerificationForm.templ index 6f60eba6..277dd8c6 100644 --- a/src/club/wpia/gigi/pages/wot/VerificationForm.templ +++ b/src/club/wpia/gigi/pages/wot/VerificationForm.templ @@ -8,7 +8,7 @@ : - > + @@ -16,8 +16,8 @@ () - - + + @@ -34,12 +34,12 @@
- - + + - - '), Verification Policy and the Verification Handbook. I am making this verification subject to and in compliance with the ToS, Verification Policy and Handbook.?> + + : @@ -58,8 +58,8 @@ - checked> - + checked> + -- 2.39.2