Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js

Issue 2745283004: MD WebUI: temporary fix for <paper-textarea> a11y label problems (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/polymer/v1_0/chromium.patch ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js
diff --git a/third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js
index 78a2a9ec621c8a3294bb2c84b5207844ca90feb9..49eeb9166274d8855ded1b3f274956cecf73f2af 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js
+++ b/third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js
@@ -43,8 +43,8 @@ Polymer({
}
},
- _ariaLabelledByChanged: function(ariaLabelledBy) {
- this.$.input.textarea.setAttribute('aria-labelledby', ariaLabelledBy);
+ _ariaLabelledByChanged: function() {
+ this.$.input.textarea.setAttribute('aria-label', this.label);
},
_ariaDescribedByChanged: function(ariaDescribedBy) {
« no previous file with comments | « third_party/polymer/v1_0/chromium.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698