Automattic / Automattic/jetpack
Forms: file upload field — allow customize file type identifiers
Open
[Block] Form
[Feature] Forms
[Feature] Forms Blocks
[Pri] Normal
Task
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
Once we know what exact file formats we can allow, let's also add UI to control, at minimum, between:
- Images
- Video
- Audio
- Other
A potential good advanced addition would allow directly control `accepts` attribute.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers
Contributor guide
Research direction
Start by locating the Forms file-upload field and reviewing the linked MDN guidance on unique file type specifiers. Clarify which file categories and whether direct accepts-attribute control are required, then verify that the UI exposes the agreed controls and applies the resulting identifiers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100