Skip to content

Commit

Permalink
[DURACOM-195] accessibility issue fixed on log-out button
Browse files Browse the repository at this point in the history
  • Loading branch information
davide-negretti committed Jan 18, 2024
1 parent 6dec34c commit 8f73b8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/app/admin/admin-sidebar/admin-sidebar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ <h4 class="my-1">{{ 'menu.header.admin' | translate }}</h4>

<!-- TOGGLER -->

<div class="sidebar-full-width-container" id="sidebar-collapse-toggle-container" aria-hidden="true">
<div class="sidebar-full-width-container" id="sidebar-collapse-toggle-container">
<a class="sidebar-section-wrapper sidebar-full-width-container"
id="sidebar-collapse-toggle"
href="javascript:void(0);"
(click)="toggle($event)"
(keyup.space)="toggle($event)"
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/log-out/log-out.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

<div *ngIf="(error | async)" class="alert alert-danger" role="alert" @fadeOut>{{ error | async }}</div>

<button class="btn btn-lg btn-primary btn-block mt-3" (click)="logOut()" [attr.data-test]="'logout-button' | dsBrowserOnly"><i class="fas fa-sign-out-alt"></i> {{"logout.form.submit" | translate}}</button>
<button role="menuitem" class="btn btn-lg btn-primary btn-block mt-3" (click)="logOut()" [attr.data-test]="'logout-button' | dsBrowserOnly"><i class="fas fa-sign-out-alt"></i> {{"logout.form.submit" | translate}}</button>
</div>

0 comments on commit 8f73b8f

Please sign in to comment.