From 75d116d017ef0e30f390a6e450def48456761515 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Wed, 6 Jun 2018 22:43:29 -0700 Subject: [PATCH] fix(badge, tooltip): Add A11yModule (#11586) --- src/lib/badge/badge-module.ts | 6 +++++- src/lib/tooltip/tooltip-module.ts | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/badge/badge-module.ts b/src/lib/badge/badge-module.ts index 8321115b7716..8807aeb43eba 100644 --- a/src/lib/badge/badge-module.ts +++ b/src/lib/badge/badge-module.ts @@ -8,11 +8,15 @@ import {NgModule} from '@angular/core'; import {MatCommonModule} from '@angular/material/core'; +import {A11yModule} from '@angular/cdk/a11y'; import {MatBadge} from './badge'; @NgModule({ - imports: [MatCommonModule], + imports: [ + A11yModule, + MatCommonModule + ], exports: [MatBadge], declarations: [MatBadge], }) diff --git a/src/lib/tooltip/tooltip-module.ts b/src/lib/tooltip/tooltip-module.ts index 444bafae2356..1f2166148a2c 100644 --- a/src/lib/tooltip/tooltip-module.ts +++ b/src/lib/tooltip/tooltip-module.ts @@ -7,6 +7,7 @@ */ import {OverlayModule} from '@angular/cdk/overlay'; +import {A11yModule} from '@angular/cdk/a11y'; import {CommonModule} from '@angular/common'; import {NgModule} from '@angular/core'; import {MatCommonModule} from '@angular/material/core'; @@ -18,6 +19,7 @@ import { @NgModule({ imports: [ + A11yModule, CommonModule, OverlayModule, MatCommonModule,