![Add allowed file extensions as 'accept' attribute for file uploads to improve UX [#3031371] | Drupal.org Add allowed file extensions as 'accept' attribute for file uploads to improve UX [#3031371] | Drupal.org](https://www.drupal.org/files/issues/2022-08-05/3031371-after_patch.png)
Add allowed file extensions as 'accept' attribute for file uploads to improve UX [#3031371] | Drupal.org
![html - How to make input type= file Should accept only .xlsx and filename contain substring - Stack Overflow html - How to make input type= file Should accept only .xlsx and filename contain substring - Stack Overflow](https://i.stack.imgur.com/WHMQy.png)
html - How to make input type= file Should accept only .xlsx and filename contain substring - Stack Overflow
![Add allowed file extensions as 'accept' attribute for file uploads to improve UX [#3031371] | Drupal.org Add allowed file extensions as 'accept' attribute for file uploads to improve UX [#3031371] | Drupal.org](https://www.drupal.org/files/issues/2022-09-09/Before%20patch.png)
Add allowed file extensions as 'accept' attribute for file uploads to improve UX [#3031371] | Drupal.org
![Make <input type="file"> reject dropped file(s) that don't match "accept" attribute · Issue #4216 · whatwg/html · GitHub Make <input type="file"> reject dropped file(s) that don't match "accept" attribute · Issue #4216 · whatwg/html · GitHub](https://user-images.githubusercontent.com/495429/49168078-0e17ed00-f337-11e8-9ae7-271e32ac91a1.png)
Make <input type="file"> reject dropped file(s) that don't match "accept" attribute · Issue #4216 · whatwg/html · GitHub
![html - Input type=File "Accept" property with multiple values does not working in Chrome - Stack Overflow html - Input type=File "Accept" property with multiple values does not working in Chrome - Stack Overflow](https://i.stack.imgur.com/vDlou.png)
html - Input type=File "Accept" property with multiple values does not working in Chrome - Stack Overflow
![html tutorial - accept Attribute in HTML - html5 - html code - html form - In 30Sec by Microsoft Award MVP - | wikitechy html tutorial - accept Attribute in HTML - html5 - html code - html form - In 30Sec by Microsoft Award MVP - | wikitechy](https://www.wikitechy.com/step-by-step-html-tutorials/attributes/img/attributes-images/code-explanation-accept-attribute-in-html.png)