Use native HTML input types where possible and avoid ARIA unless necessary.
The requirement (from the design system site)
Use native HTML input types where possible and avoid ARIA unless necessary.
Why it matters to users
On a phone, a phone-number field of the right type brings up the number pad, and an email field brings a keyboard with @. When every field is plain text, users switch keyboards themselves and make more mistakes, and screen-reader users lose the field type.
How to fix it
Use the matching type for each field, such as email, tel, date or password, or inputmode="numeric" for numbers, and replace div elements with role="textbox" by native inputs. Then scan again.
How we measure it
Fields whose label/name indicates email, phone, a number (civil ID, amount, quantity), date, URL or password use the matching input type (email, tel, number or inputmode=numeric, date, url, password); each div/span with role=textbox or contenteditable used as a form field (outside rich-text editors) counts as a failure.
English page timed out in our render; requirement_en translated from the official Arabic page.
The rule on the design system site