Unverified Commit ec2c13a6 authored by Akhil's avatar Akhil Committed by GitHub
Browse files

Merge pull request #2994 from yravinderkumar33/release-4.3.0

Issue #SB-0000 fix: Accessbility Fixes
Showing with 6 additions and 4 deletions
+6 -4
......@@ -26,7 +26,7 @@
</label>
<div class="ui search">
<div class="ui mt-8 icon input">
<input class="" type="password" id="password-new" onfocusin="inputBoxFocusIn(this)" onfocusout="inputBoxFocusOut(this)" name="password-new" autocomplete="off" onkeydown="javascript:validatePassword()"/>
<input class="" type="password" id="password-new" onfocusin="inputBoxFocusIn(this)" onfocusout="inputBoxFocusOut(this)" name="password-new" autocomplete="new-password" onkeydown="javascript:validatePassword()"/>
<i class="eye icon link" onclick="viewPassword(this)"></i>
<!--i id="preview-hide" class="eye slash icon hide link"></i-->
</div>
......@@ -40,7 +40,7 @@
<label id="password-confirmLabelPlaceholder" class="activeLabelColor hide" for="password-confirm">
${msg("passwordConfirm")}
</label>
<input type="password" class="mt-8" onfocusin="inputBoxFocusIn(this)" onfocusout="inputBoxFocusOut(this)" id="password-confirm" name="password-confirm" autocomplete="off" onkeydown="javascript:matchPassword()"/>
<input type="password" class="mt-8" onfocusin="inputBoxFocusIn(this)" onfocusout="inputBoxFocusOut(this)" id="password-confirm" name="password-confirm" autocomplete="new-password" onkeydown="javascript:matchPassword()"/>
<div id="passwd-match-error-msg" class="ui text confpasswderr hide">Passwords do not match</div>
</div>
<div class="field">
......
......@@ -41,7 +41,7 @@
<#-- TODO: need to find alternative for prepopulating username -->
<input class="mt-8" id="username" name="username" placeholder="Enter your email / mobile number" type="text" disabled />
<#else>
<input class="mt-8" id="username" name="username" placeholder="Enter your email / mobile number" onfocusin="inputBoxFocusIn(this)" onfocusout="inputBoxFocusOut(this)" type="text" autofocus autocomplete="off" />
<input class="mt-8" id="username" name="username" placeholder="Enter your email / mobile number" onfocusin="inputBoxFocusIn(this)" onfocusout="inputBoxFocusOut(this)" type="text" autofocus autocomplete="username" />
</#if>
</div>
<div class="field mb-8">
......@@ -54,7 +54,7 @@
${msg("placeholderForPassword")}
</label>
</div>
<input placeholder="${msg('passwordPlaceholder')}" class=" mt-8" id="password" onfocusin="inputBoxFocusIn(this)" onfocusout="inputBoxFocusOut(this)" name="password" type="password" autocomplete="off" />
<input placeholder="${msg('passwordPlaceholder')}" class=" mt-8" id="password" onfocusin="inputBoxFocusIn(this)" onfocusout="inputBoxFocusOut(this)" name="password" type="password" autocomplete="current-password" />
<span class="ui text error hide" id="inCorrectPasswordError">${msg("inCorrectPasswordError")}</span>
</div>
<div class="remember-forgot-row">
......
......@@ -38,6 +38,7 @@
</head>
<body class="${properties.kcBodyClass!}">
<main>
<div id="kc-logo"><a href="${properties.kcLogoLink!'#'}" title="kc-logo-wrapper"><div id="kc-logo-wrapper"></div><span class="hide">kc-logo</span></a></div>
<div id="kc-container" class="${properties.kcContainerClass!}">
......@@ -116,6 +117,7 @@
</div>
</div>
</div>
</main>
</body>
</html>
</#macro>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment