diff mod_http_oauth2/html/consent.html @ 5631:f889ff779571

mod_http_oauth2: Improve templates XML-ness by avoiding value-less attributes or whatever they're called Plus some Aria label tweaks
author Kim Alvefur <zash@zash.se>
date Tue, 08 Aug 2023 17:04:50 +0200
parents e86a1018cdb3
children 401356232e1b
line wrap: on
line diff
--- a/mod_http_oauth2/html/consent.html	Mon Aug 07 22:52:14 2023 +0200
+++ b/mod_http_oauth2/html/consent.html	Tue Aug 08 17:04:50 2023 +0200
@@ -36,18 +36,18 @@
 
 		<dt>Requested permissions</dt>
 		<dd>{scopes#
-			<input class="scope" type="checkbox" id="scope_{idx}" name="scope" value="{item}" checked><label class="scope" for="scope_{idx}">{item}</label>}
+			<input class="scope" type="checkbox" id="scope_{idx}" name="scope" value="{item}" checked="" /><label class="scope" for="scope_{idx}">{item}</label>}
 		</dd>
 	</dl>
 
 	<p>To allow <em>{client.client_name}</em> to access your account
-	   <em>{state.user.username}@{state.user.host}</em> and associated data,
-	   select 'Allow'. Otherwise, select 'Deny'.
+	<em>{state.user.username}@{state.user.host}</em> and associated data,
+	select 'Allow'. Otherwise, select 'Deny'.
 	</p>
 
-		<input type="hidden" name="user_token" value="{state.user.token}">
-		<button type="submit" name="consent" value="denied">Deny</button>
-		<button type="submit" name="consent" value="granted">Allow</button>
+	<input type="hidden" name="user_token" value="{state.user.token}">
+	<button type="submit" name="consent" value="denied">Deny</button>
+	<button type="submit" name="consent" value="granted">Allow</button>
 	</form>
 	</fieldset>
 	</main>