title: accept button is not working in firefox and safari
body: <p>I have a <code>&lt;input type="file" accept=".png,.jpg" /&gt;</code> element.
  with attribute accept. </p>
  
  <p>But it is accepting all the files in the firefox and safari. It is working good
  in chrome and ie. How can i write code for all the browsers</p>