From b4b1b05696190698362466f3224a29a353269eb3 Mon Sep 17 00:00:00 2001 From: Conor Wright Date: Fri, 29 Jun 2018 15:34:40 -0400 Subject: [PATCH 1/4] added ariaRole input to modals. made confirm modal alertdialog --- src/modules/confirm/confirm.component.html | 3 ++- src/modules/modal/modal-configuration.ts | 1 + src/modules/modal/modal.component.html | 2 +- src/modules/modal/modal.component.spec.ts | 9 ++++++--- src/modules/modal/modal.component.ts | 8 ++++++++ src/modules/modal/modal.interface.ts | 1 + 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/modules/confirm/confirm.component.html b/src/modules/confirm/confirm.component.html index 5a02c0e1a..fd378dfe6 100644 --- a/src/modules/confirm/confirm.component.html +++ b/src/modules/confirm/confirm.component.html @@ -1,5 +1,6 @@
- +
{{ message }} diff --git a/src/modules/modal/modal-configuration.ts b/src/modules/modal/modal-configuration.ts index 3b6b7c917..6499da365 100644 --- a/src/modules/modal/modal-configuration.ts +++ b/src/modules/modal/modal-configuration.ts @@ -7,6 +7,7 @@ export class SkyModalConfiguration { public size?: string; public ariaDescribedBy?: string; public ariaLabelledBy?: string; + public ariaRole?: string; public tiledBody?: boolean; public helpKey?: string; diff --git a/src/modules/modal/modal.component.html b/src/modules/modal/modal.component.html index 84ca13481..1f7baa233 100644 --- a/src/modules/modal/modal.component.html +++ b/src/modules/modal/modal.component.html @@ -6,9 +6,9 @@