Skip to content

Commit

Permalink
Update checkbox.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
marqbeniamin committed Feb 5, 2024
1 parent 096d04e commit fd9439f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/html/checkbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ The checkbox component needs a required script file for the ripple effect to wor
<span id="best-practices"></span>
### Checkbox Component Best Practices for Developers

• Always use the <input type="checkbox"> element for checkboxes. It provides semantic meaning and ensures compatibility with assistive technologies. <br />
• Always use the `<input type="checkbox">` element for checkboxes. It provides semantic meaning and ensures compatibility with assistive technologies. <br />
• Use clear and descriptive labels for checkboxes. The label should clearly explain what the checkbox does or what option it represents.<br />
• If there are multiple checkboxes related to a single choice or category, group them using fieldsets and legends. <br />
• Ensure that checkboxes are touch-friendly for mobile users. <br />
Expand Down

0 comments on commit fd9439f

Please sign in to comment.