Skip to content

Commit

Permalink
fix(checkbox): wrong aria label definition removed (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
muratcorlu authored Jun 7, 2023
1 parent 2f54bce commit 18bee47
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/checkbox-group/checkbox/bl-checkbox.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ describe('bl-checkbox', () => {
`
<label>
<input type="checkbox"
aria-labelledby="label"
aria-readonly="false"
aria-required="false" />
<div class="check-mark"></div>
Expand Down
1 change: 0 additions & 1 deletion src/components/checkbox-group/checkbox/bl-checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ export default class BlCheckbox extends FormControlMixin(LitElement) {
.checked=${live(this.checked)}
?disabled=${this.disabled}
aria-required=${this.required}
aria-labelledby="label"
aria-readonly=${this.disabled}
.indeterminate=${this.indeterminate}
@change=${this.handleChange}
Expand Down

0 comments on commit 18bee47

Please sign in to comment.