summaryrefslogtreecommitdiffstats
path: root/app/index.js
diff options
context:
space:
mode:
authorbeccabroek <beccabroek@gmail.com>2019-02-05 15:43:17 -0600
committerbeccabroek <beccabroek@gmail.com>2019-02-06 14:17:01 -0600
commit27ce84d247a41288228713342d4e7745d8806eba (patch)
tree67c9e1c3c7071bfdd7d11194a7031a014610afca /app/index.js
parenta09cc2da1b3a9bad0eaf34fbfdec8a3ee32d47f8 (diff)
downloadphosphor-webui-27ce84d247a41288228713342d4e7745d8806eba.tar.gz
phosphor-webui-27ce84d247a41288228713342d4e7745d8806eba.zip
Add role alert to toasts
For accessibility reasons, 'role="alert" is required for toast messages. This notifies screen readers that an error or success message has appeared. Adds a service layer for toast messages that adds the role attribute to the message. Change-Id: Ic4dbf5556337eea589de5692c1b4c3323e771813 Signed-off-by: beccabroek <beccabroek@gmail.com>
Diffstat (limited to 'app/index.js')
-rw-r--r--app/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/index.js b/app/index.js
index 2313016..c9fed83 100644
--- a/app/index.js
+++ b/app/index.js
@@ -31,6 +31,7 @@ var config = require('../config.json');
import services_index from './common/services/index.js';
import constants from './common/services/constants.js';
import dataService from './common/services/dataService.js';
+import toastService from './common/services/toastService.js';
import api_utils from './common/services/api-utils.js';
import userModel from './common/services/userModel.js';
import apiInterceptor from './common/services/apiInterceptor.js';
OpenPOWER on IntegriCloud