For file type inputs, the capture attribute with the settings “user” or “environment” can be used.
The capture characteristic provides a unique selling proposition for mobile website visitors.
They will launch one of their cameras rather than the default file picker if they use that input.
It might be either the front or rear camera, depending on the value.