Does accept=".pdf" make our upload form enforce PDF-only submissions?
TechnologyThe file chooser on our workshop form greys out my image files, so I told the organiser the PDF-only rule was finished. A helper changed an option in their file dialog and selected an image anyway. The server hasn't been given a file-type check yet.
The input uses accept=".pdf". MDN says accept guides the browser's chooser rather than validating selected file types, and calls for appropriate server-side validation. MDN's file-input reference
Should I keep the chooser hint and correct my claim about what it guarantees? We only need PDFs for this workflow, but I don't want the organiser opening submissions under a rule our form never actually enforced.