summaryrefslogtreecommitdiff
path: root/web-ui/src/common/flat_button/flat_button.js
diff options
context:
space:
mode:
authorSriram Viswanathan <sriramv@thoughtworks.com>2017-03-24 14:39:43 -0300
committerSriram Viswanathan <sriramv@thoughtworks.com>2017-03-24 14:39:43 -0300
commitccc31c1e1867c37335ee3fbdd4bc729ad6917883 (patch)
tree3b85bd81921e65ca86892139a7564a4df535b314 /web-ui/src/common/flat_button/flat_button.js
parent4688646080ea8c7783f94371d2fe2f1dafb7b335 (diff)
|#973| Thais + Sriram | Adds title and aria label for the logout button on the header
Diffstat (limited to 'web-ui/src/common/flat_button/flat_button.js')
-rw-r--r--web-ui/src/common/flat_button/flat_button.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web-ui/src/common/flat_button/flat_button.js b/web-ui/src/common/flat_button/flat_button.js
index 33df7de4..b8c6c2c7 100644
--- a/web-ui/src/common/flat_button/flat_button.js
+++ b/web-ui/src/common/flat_button/flat_button.js
@@ -43,6 +43,8 @@ const SubmitFlatButton = ({ name, buttonText, fontIconClass }) => (
labelPosition='before'
label={buttonText}
labelStyle={labelStyle}
+ aria-label={buttonText}
+ title={buttonText}
icon={<FontIcon className={fontIconClass} color={grey500} style={iconStyle} />}
/>
);