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

Use hint text to explain accepted file types, size limits and quantity, telling users the maximum file size before they upload.

The requirement (from the design system site)

Use hint text to explain accepted file types, size limits and quantity, telling users the maximum file size before they upload.

Why it matters to users

Someone uploading a document from their phone has no idea the size limit is small or that only PDF is accepted. The file is rejected after a wait, and they retake and shrink it several times before it goes through.

How to fix it

Add hint text under each upload label that names the accepted formats, the maximum size and, where more than one file is allowed, how many, and link it with aria-describedby. Then scan again.

How we measure it

Each file input's hint (aria-describedby, the hint slot or gup-form-hint, or the field's own small group) names at least one format (PDF, JPG, صيغة …) and a size limit (MB/KB, ميغابايت); inputs that accept multiple files also give a count. No upload field found: not measured.

The rule on the design system site

Related rules

File type and size hint · Oman OM-067 | xfix