Skip to content

Commit

Permalink
Fix missing parenthesis (#18509)
Browse files Browse the repository at this point in the history
  • Loading branch information
teoli2003 authored Jul 19, 2022
1 parent a3cff45 commit 5f210be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The `checkbox` role is for checkable interactive controls. Elements containing `
<label id="chk1-label">Remember my preferences</label>
```

> **Note:** The first rule of ARIA is if a native HTML element or attribute has the semantics and behavior you require, use it instead of re-purposing an element and adding ARIA. Instead use the native [HTML checkbox](/en-US/docs/Web/HTML/Element/input/checkbox) of [`<input type="checkbox">`](/en-US/docs/Web/HTML/Element/input/checkbox) (with an associated {{HTMLElement('label')}}, which natively provides all the functionality required:
> **Note:** The first rule of ARIA is if a native HTML element or attribute has the semantics and behavior you require, use it instead of re-purposing an element and adding ARIA. Instead use the native [HTML checkbox](/en-US/docs/Web/HTML/Element/input/checkbox) of [`<input type="checkbox">`](/en-US/docs/Web/HTML/Element/input/checkbox) (with an associated {{HTMLElement('label')}}), which natively provides all the functionality required:
```html
<input type="checkbox" id="chk1-label">
Expand Down

0 comments on commit 5f210be

Please sign in to comment.