[java-idp-plugin-webauthn] branch main updated: Fix views after checking with accessibility tool

Phil Smart philip.smart at jisc.ac.uk
Tue Oct 22 11:09:19 UTC 2024


This is an automated email from the git hooks/post-receive script.

philsmart pushed a commit to branch main
in repository java-idp-plugin-webauthn.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-webauthn.git;a=commit;h=4f9dd1775a017c1f7109870e76b99b9e71894646

The following commit(s) were added to refs/heads/main by this push:
     new 4f9dd17  Fix views after checking with accessibility tool
4f9dd17 is described below

commit 4f9dd1775a017c1f7109870e76b99b9e71894646
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Oct 22 12:09:15 2024 +0100

    Fix views after checking with accessibility tool
---
 .../net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-authn.vm    | 2 +-
 .../idp/plugin/authn/webauthn/views/webauthn-register-username.vm       | 2 +-
 .../net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-authn.vm b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-authn.vm
index 1f849ec..3681e78 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-authn.vm
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-authn.vm
@@ -139,7 +139,7 @@ $response.addHeader("Content-Security-Policy", "default-src 'none'; style-src 's
                         <hr />
                         <button type="button" class="collapsible-debug">#springMessageText("idp.webauthn.debug.title","Debugging")</button>    
                         <div class="debug" id="debug-div">
-                            <label for="publicKeyCredentialCreation">#springMessageText("idp.webauthn.debug.request",
+                            <label for="publicKeyCredentialRequestOptions">#springMessageText("idp.webauthn.debug.request",
                             "Request Options")</label>
                             <textarea id="publicKeyCredentialRequestOptions" name="publicKeyCredentialRequestOptions"
                                 rows="20" cols="50">
diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register-username.vm b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register-username.vm
index 2445cbc..661ba3f 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register-username.vm
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register-username.vm
@@ -43,7 +43,7 @@ $response.addHeader("Content-Security-Policy", "default-src 'none'; style-src 's
                 <form name="username-entry" action="$flowExecutionUrl" method="post">
                     #parse("csrf/csrf.vm")
                     
-                    <label for="username">#springMessageText("idp.login.username", "Username")</label>
+                    <label for="j_username">#springMessageText("idp.login.username", "Username")</label>
                     <input id="j_username" name="j_username" type="text" required
                         value="#if($username)$encoder.encodeForHTML($username)#end" />
 
diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
index 0d14c78..f5bb507 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
@@ -142,7 +142,7 @@ $response.addHeader("Content-Security-Policy", "default-src 'none'; style-src 's
                                     <td>#springMessageText("idp.webauthn.register.table.unknownCredential", "unknown")</td>
                                #end
                                #if ($cred.icon)
-                                    <td> <img class="authenticator-logo" src="$encoder.encodeForHTML($cred.icon)" alt="authenticator-icon"/></td> 
+                                    <td> <img class="authenticator-logo" src="$encoder.encodeForHTML($cred.icon)" alt="$encoder.encodeForHTML($cred.credentialRegistration.nickname)-authenticator-icon"/></td> 
                                #else
                                     <td></td>
                                #end

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list