spec 2 linked patterns checked

MDN: input type=file

Documents native file input value behavior, selected FileList access, accept type specifiers, multiple file selection, capture hints, and the need to validate selected files beyond client-side accept filtering.

Read with a purpose

What this source can teach

Use this source to check a technical or accessibility requirement against its exact wording and scope.

  1. Start with the original. Open the source and find the guidance or example relevant to your task.
  2. Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
  3. Check the setting. Compare the source's platform, people, and constraints with your own decision.

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Camera capture Choose camera capture when the product must create new camera media and users need live preview, framing, capture, review, and retake behavior. The camera stream starts only after a deliberate user action and contextual permission rationale. Supports upload fallback, accept filtering, selected files, and capture hints.
File upload Choose file upload when the original file itself is needed, not just information from the file. Activating the choose-file button opens the platform file picker and returns focus to the invoking control or selected file summary afterward. MDN supports native file input behavior, FileList access, accept type specifiers, multiple selection, capture hints, and validation caveats.

Comparisons supported by this source

Evidence Role

This source is treated as spec evidence. Its value comes from the specific claims and setting described above.

Publisher: Mozilla. Last checked: .

Saved items