From 904a4e459b1ccb74c5cd4f7d1e7fd1ea6db9bc68 Mon Sep 17 00:00:00 2001 From: Scott Batson Date: Wed, 6 Jun 2018 11:09:23 -0400 Subject: [PATCH] add aria-label and others to flash message attrs --- addon/components/flash-message.js | 1 + config/ember-try.js | 1 + 2 files changed, 2 insertions(+) diff --git a/addon/components/flash-message.js b/addon/components/flash-message.js index 93bb223a..fd3ed6b3 100644 --- a/addon/components/flash-message.js +++ b/addon/components/flash-message.js @@ -22,6 +22,7 @@ export default Component.extend({ messageStyle: 'bootstrap', classNames: ['flash-message'], classNameBindings: ['alertType', 'active', 'exiting'], + attributeBindings: ['aria-label', 'aria-describedby', 'role'], showProgress: readOnly('flash.showProgress'), notExiting: not('exiting'), diff --git a/config/ember-try.js b/config/ember-try.js index d27c2a40..16480fc3 100644 --- a/config/ember-try.js +++ b/config/ember-try.js @@ -75,6 +75,7 @@ module.exports = function() { }, { name: 'ember-beta', + allowedToFail: true, npm: { devDependencies: { 'ember-source': urls[1]