Skip to content

Commit 231c89b

Browse files
committed
Moved functionallity of aria label to the iron-autogrow-textarea element.
1 parent e261356 commit 231c89b

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

paper-textarea.html

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<iron-autogrow-textarea id="input" class="paper-input-input"
5757
bind-value="{{value}}"
5858
invalid="{{invalid}}"
59+
label$="[[label]]"
5960
disabled$="[[disabled]]"
6061
autocomplete$="[[autocomplete]]"
6162
autofocus$="[[autofocus]]"
@@ -93,16 +94,6 @@
9394
],
9495

9596
properties: {
96-
_ariaLabelledBy: {
97-
observer: '_ariaLabelledByChanged',
98-
type: String
99-
},
100-
101-
_ariaDescribedBy: {
102-
observer: '_ariaDescribedByChanged',
103-
type: String
104-
},
105-
10697
/**
10798
* The initial number of rows.
10899
*
@@ -129,14 +120,6 @@
129120
}
130121
},
131122

132-
_ariaLabelledByChanged: function(ariaLabelledBy) {
133-
this.$.input.textarea.setAttribute('aria-labelledby', ariaLabelledBy);
134-
},
135-
136-
_ariaDescribedByChanged: function(ariaDescribedBy) {
137-
this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy);
138-
},
139-
140123
get _focusableElement() {
141124
return this.$.input.textarea;
142125
},

0 commit comments

Comments
 (0)