Skip to content

Commit

Permalink
Wrong "Prev" button title for legacy mode (#199)
Browse files Browse the repository at this point in the history
In IE11 legacy mode, title of previous arrow is  the same of next arrow
  • Loading branch information
aslubsky authored and Ks89 committed Dec 28, 2019
1 parent 7e22b7a commit 628710b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@
height: ''}">

<a class="nav-left" *ngIf="configCarousel?.showArrows"
[attr.aria-label]="accessibilityConfig.carouselNextImageAriaLabel"
[attr.aria-label]="accessibilityConfig.carouselPrevImageAriaLabel"
[tabindex]="isLastImage && !infinite ? -1 : 0" role="button"
(click)="onNavigationEvent('left', $event, clickAction)" (keyup)="onNavigationEvent('left', $event, keyboardAction)">
<div class="inside {{(isFirstImage && !infinite) || !configCarousel.showArrows ? 'empty-arrow-image' : 'left-arrow-image'}}"
aria-hidden="true"
[title]="accessibilityConfig.carouselNextImageTitle"></div>
[title]="accessibilityConfig.carouselPrevImageTitle"></div>
</a>

<ng-container *ngTemplateOutlet="content"></ng-container>
Expand Down

0 comments on commit 628710b

Please sign in to comment.