JO-108
File-upload fields state the maximum size and accepted formats.
The requirement (from the 2022 Guidelines)
File-upload fields state the maximum size and accepted formats.
Why it matters to users
Someone attaching a scan of their ID or a required document only learns the size limit and accepted formats when the file is rejected. They keep retrying or abandon the request and carry the paperwork to the office.
How to fix it
State the maximum file size and accepted formats next to every upload field, and restrict formats with the accept attribute so users only see suitable files. Then scan again.
How we measure it
input[type=file]: nearby visible text with the formats and the size (KB/MB); accept= is supporting evidence only. Partly measured: we measure what the public pages show of this rule; the rest needs a review.
Also WS.5.4.
Its place in the MODEE guidelines