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

Unified Diff: third_party/polymer/v1_0/chromium.patch

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 | « no previous file | third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/polymer/v1_0/chromium.patch
diff --git a/third_party/polymer/v1_0/chromium.patch b/third_party/polymer/v1_0/chromium.patch
index f9d5a15a32410718971474ca43743c7dddaae0bb..8b99b23f099dfaa63080fe6a058cbaf9e4286782 100644
--- a/third_party/polymer/v1_0/chromium.patch
+++ b/third_party/polymer/v1_0/chromium.patch
@@ -9,3 +9,18 @@ index 7a24999..4eefcba 100644
-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic">
-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700">
+<link rel="stylesheet" href="chrome://resources/css/roboto.css">
+diff --git a/components-chromium/paper-input/paper-textarea-extracted.js b/components-chromium/paper-input/paper-textarea-extracted.js
+index 78a2a9ec621c..8b776dd790ea 100644
+--- a/components-chromium/paper-input/paper-textarea-extracted.js
++++ b/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 | « no previous file | third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698