EN, Change language
Englishالعربية
OM-057

Use the semantic HTML input type checkbox.

The requirement (from the design system site)

Use the semantic HTML input type checkbox.

Why it matters to users

A screen-reader user needs to hear that something is a checkbox and whether it is ticked. One drawn with divs announces neither and may ignore the Space bar, so the user cannot tell what they have chosen.

How to fix it

Use input type="checkbox" or gup-checkbox instead of checkboxes built from div or span elements. Then scan again.

How we measure it

Elements with role=checkbox must be native input[type=checkbox] or gup-checkbox; fail custom div/span checkboxes. A hidden checkbox whose label shows no text (a CSS state toggle for a menu) is not a user-facing checkbox and is skipped (its keyboard problem is judged under OM-055).

Arabic file ar__checkbox.txt missing; Arabic taken from rendered/checkbox.txt.

The rule on the design system site

Related rules

Native checkboxes · Oman OM-057 | xfix