Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-1679 (pull request #448)
Browse files Browse the repository at this point in the history
SHIBUI-1679 Added aria label

Approved-by: Ryan Mathis <rmathis@unicon.net>
  • Loading branch information
rmathis committed Dec 5, 2019
2 parents 10115a2 + f4b5fd8 commit 27c117d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ <h2 class="mb-4" [ngSwitch]="type$ | async">
</button>
</div>
<div *ngIf="hasXml$ | async">
<div class="btn-group">
<a class="btn" routerLink="../options" routerLinkActive="btn-primary">
<div class="btn-group" role="group" aria-label="Options selected">
<a class="btn" routerLink="../options" routerLinkActive="btn-primary" aria-pressed="true">
<span class="sr-only" translate="action.toggle-view">Toggle view:</span>
Options
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ <h2 class="mb-4" [ngSwitch]="type$ | async">
</h2>
<div class="container-fluid">
<div class="px-3 my-3 d-flex justify-content-end">
<div class="btn-group">
<div class="btn-group" role="group" aria-label="XML selected">
<a class="btn" routerLink="../options" routerLinkActive="btn-primary">
<span class="sr-only" translate="action.toggle-view">Toggle view:</span>
Options
</a>
<a class="btn" routerLink="../xml" routerLinkActive="btn-primary">
<a class="btn" routerLink="../xml" routerLinkActive="btn-primary" aria-pressed="true">
<span class="sr-only" translate="action.toggle-view">Toggle view:</span>
XML
</a>
Expand Down

0 comments on commit 27c117d

Please sign in to comment.