UX: Use translatedLabel for aria-label in buttons.

UX: Use translatedLabel for aria-label in buttons.

diff --git a/app/assets/javascripts/discourse/components/d-button.js.es6 b/app/assets/javascripts/discourse/components/d-button.js.es6
index 70a4093..67132bf 100644
--- a/app/assets/javascripts/discourse/components/d-button.js.es6
+++ b/app/assets/javascripts/discourse/components/d-button.js.es6
@@ -9,7 +9,7 @@ export default Ember.Component.extend({
   attributeBindings: [
     "disabled",
     "translatedTitle:title",
-    "translatedTitle:aria-label",
+    "translatedLabel:aria-label",
     "tabindex"
   ],

GitHub sha: 31ffcf98

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there:

This commit has been mentioned on Discourse Meta. There might be relevant details there: