From a21d3e070596f50468b7b00ff52d840128417ec5 Mon Sep 17 00:00:00 2001 From: Ilya Tarusin Date: Thu, 5 Apr 2018 15:19:18 +0300 Subject: [PATCH] feat(carousel): add aria-attributes (#4131) closes #4130 --- src/carousel/slide.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/carousel/slide.component.ts b/src/carousel/slide.component.ts index b48e331e62..9bb56745db 100644 --- a/src/carousel/slide.component.ts +++ b/src/carousel/slide.component.ts @@ -14,7 +14,10 @@ import { CarouselComponent } from './carousel.component';
- ` + `, + host: { + '[attr.aria-hidden]': '!active' + } }) export class SlideComponent implements OnInit, OnDestroy { /** Is current slide active */