title: A simple e.altKey test
body: <p><strong>Summary:</strong></p>
  
  <p>I want to catch the event of <code>Alt + Z</code> <code>onkeypress</code>. I am using <code>e.altKey</code> to accomplish this.
  However, it isn't working anywhere, from <code>textarea</code>s to <code>input</code>s to <code>div[contenteditable]</code>s! </p>
  
  <hr>
  
  <p><strong><a href="http://jsfiddle.net/M693m/4/" rel="nofollow noreferrer">FIDDLE</a></strong></p>
  
  <p>The event of <code>Shift + any_key</code> (<code>any_key !== Alt</code>) works fine, but <code>Alt</code> isn't detected at all. I tested with <code>keydown</code>, which works perfectly. </p>
  
  <hr>
  
  <p>I don't know if it is related, but the <code>ctrl</code> key also doesn't work in my fiddle. I have seen <code>ctrl</code> key being caught <code>onkeypress</code> in various answers like this one: <a href="https://stackoverflow.com/a/4604093/2675672">https://stackoverflow.com/a/4604093/2675672</a> , but I have zero idea why it doesn't work in my fiddle. </p>
  
  <p>By <em>not working</em>, I mean that, even no <code>alert</code> boxes pop up.</p>
  
  <p>It must be something simple which I might be overlooking. </p>
  
  <hr>
  
  <p><strong>Note:</strong> Only Chrome support required, without any libraries. Also, my <kbd>Alt</kbd> key isn't broken. I can press <kbd>Alt</kbd> + <kbd>F</kbd> and open the File menu in Chrome just fine.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>So, it is realized that this is a <a href="https://code.google.com/p/chromium/issues/detail?id=2606" rel="nofollow noreferrer">Chrome bug</a> that the event doesn't fire (noticed by <a href="https://stackoverflow.com/users/182668/pointy">@Pointy</a>). Still, if anyone has any workarounds for making this work. Please share them. Thanks!</p>
  
  <hr>
  
  <p><strong>UPDATE:</strong> it's been 3 years. Is it ok for Chromium bugs to take years to fix? Or should I just forget it (I'd forgotten this question already, just came across it while maintenance work)</p>