Skip to content

Commit 44aa49a

Browse files
committed
Removed invalid code in form labels rule
1 parent 5feaf4d commit 44aa49a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

skills/ember-best-practices/rules/a11y-form-labels.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ All form inputs must have associated labels, and validation errors should be ann
3535
<div>
3636
<label for="email-input">
3737
Email Address
38-
{{#if this.isEmailRequired}}
39-
<span aria-label="required">*</span>
40-
{{/if}}
38+
<span aria-hidden="true">*</span>
4139
</label>
4240
4341
<input

0 commit comments

Comments
 (0)