Skip to content

Commit

Permalink
fix(ui5-textarea): announce required textarea (#2385)
Browse files Browse the repository at this point in the history
  • Loading branch information
fifoosid authored Dec 7, 2020
1 parent 9e30e53 commit c2baf6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/main/src/TextArea.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
@focusin="{{_onfocusin}}"
@focusout="{{_onfocusout}}"
>

{{#if growing}}
<div id="{{_id}}-mirror" style="{{styles.mirror}}" class="ui5-textarea-mirror" aria-hidden="true">
{{#each _mirrorText}}
Expand All @@ -23,7 +22,6 @@
?disabled="{{disabled}}"
?readonly="{{readonly}}"
?required="{{required}}"
aria-required="{{required}}"
aria-label="{{ariaLabelText}}"
aria-describedby="{{ariaDescribedBy}}"
maxlength="{{_exceededTextProps.calcedMaxLength}}"
Expand Down
2 changes: 1 addition & 1 deletion packages/main/test/pages/TextArea.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,4 @@
</script>

</body>
</html>
</html>

0 comments on commit c2baf6b

Please sign in to comment.