Created attachment 414151 [details] screen recording showing a demo on a local webserver When a form specifies a specific video type, let's go with video/mp4 for this example, the macOS file picker will let you pick another type like video/mov, if you press the little play button on the file. I have submitted a bug to the macOS team through feedback but there is a possible workaround in webkit. When you select a file, webkit could do another check to see if the file is allowed with the specified content type.
the screen recording shows Brave Browser but happens in Safari and any Chromium-based browser
Could you please post the feedback ID for reference?
@Alexey Proskuryakov the feedback id is FB8898118
Thank you! For Apple employees: rdar://71407635