Open
Description
In chapter 14. Element Interaction, section 14.3 Element Send Keys:
Complete implementation specific steps equivalent to setting the selected files on the input. If multiple is true files are be appended to element’s selected files.
There is no provision to validate selected files against the 'accept' attribute. For example, this is defined here:
https://html.spec.whatwg.org/multipage/input.html#file-upload-state-(type=file)
It is also noted above that "User agents should prevent the user from selecting files that are not accepted by one (or more) of these tokens." I think it's worth referencing this or otherwise hooking into the validation that would be done by the UA in a real user scenario.