title: Javascript event.stopPropagation() doesn't work with `accesskey` attribute
body: <p>A simple html page contains only two controls, one textbox and one button. After page load if user clicks inside textbox and press “alt” + p (button accesskey) the message should be displayed as “I'm from key down!!!” but if the user clicks anywhere other than inside textbox, the message should be displayed as “I should be called only when the focus is outside the textbox!!!”. Complete code is shown below:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Test&lt;/title&gt;
  &lt;script type="text/javascript"&gt;
      function keyDown() {
          if (event.altKey &amp;&amp; event.keyCode == 80) {
              event.returnValue = false;
              event.cancelBubble = true;
              event.keyCode = 0;
              alert("I'm from key down!!!");
          }
      }
  
      function clickMe() {
          alert("I should be called only when the focus is outside the textbox!!!");
      }
   &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;div&gt;
      &lt;input type="text" onkeydown ="keyDown();" /&gt;
      &lt;input type="button" value="Click me" accesskey="p" onclick="clickMe();" /&gt;
  &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>It works fine in IE10 and below. But it doesn’t work in IE11 and Chrome, instead it shows two alert messages one after another like “I'm from key down!!!” and “I should be called only when the focus is outside the textbox!!!” which is not desirable. So the <code>keyDown()</code> event handler is changed to support IE10+ and Chrome like </p>
  
  <pre><code>function keyDown() {
       if (event.altKey &amp;&amp; event.keyCode == 80) {
          event.preventDefault ? event.preventDefault() : (event.returnValue = false);
          event.stopPropagation ? event.stopPropagation() : (event.cancelBubble = true);
          event.keyCode = 0;
          alert("I'm from key down!!!");
       }
  }
  </code></pre>
  
  <p>But in this scenario event.stopPropagation() doesn’t work, any idea why? </p>