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

Do not use a dropdown when there are 5 or fewer options; use radio buttons instead.

The requirement (from the design system site)

Do not use a dropdown when there are 5 or fewer options; use radio buttons instead.

Why it matters to users

A dropdown hides its choices, so the user needs an extra tap to see five or fewer options that could have been shown outright. On a phone, or for an older resident, that hidden step leads to wrong picks and skipped questions.

How to fix it

Turn any dropdown with five or fewer real options into a gup-radio-button group that shows them all, and keep gup-dropdown-field for longer lists. Then scan again.

How we measure it

Count real options (excluding placeholder) in each select, and gup-dropdown-menu-item children of each gup-dropdown-field; flag counts <= 5.

The rule on the design system site

Related rules

Radios for 5 options or fewer · Oman OM-062 | xfix