LP#1977554: (follow-up) remove "switch" role
authorGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Apr 2023 19:53:40 +0000 (19:53 +0000)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Apr 2023 19:53:40 +0000 (19:53 +0000)
... not needed for these buttons

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/eg2/src/app/staff/login.component.html
Open-ILS/src/templates-bootstrap/opac/parts/login/login_modal.tt2

index d671f22..dd4bbc9 100644 (file)
@@ -36,7 +36,7 @@
             [attr.aria-description]="ariaDescription"
             [(ngModel)]="args.password"/>
           <button id="show_password" class="input-group-text pointer"
-                  type="button" role="switch" aria-label="password visibility" aria-checked="false"
+                  type="button" aria-label="password visibility" aria-checked="false"
                   (click)="togglePasswordVisibility()" >
             <span class="material-icons">{{ passwordVisible ? 'visibility' : 'visibility_off' }}</span>
           </button>
index fc746bb..c4ad6a9 100755 (executable)
@@ -49,7 +49,7 @@
                     <input class="form-control" id="password_field" name="password" type="password"
                                                   spellcheck="false" autocomplete="false" autocapitalize="none" aria-description="Your password is not visible."/>
                                        <span class="input-group-addon">
-                      <button id="show_password" class="btn" type="button" role="switch" aria-label="password visibility"
+                      <button id="show_password" class="btn" type="button" aria-label="password visibility"
                                                          aria-checked="false" ><i class="fas fa-eye-slash"></i>
                                          </button>
                     </span>