phetsims / a11y-research

a repository to track PhETs research into accessibility, or "a11y" for short
MIT License
3 stars 0 forks source link

Focus is broken in JAWS in FF 60 #107

Closed jessegreenberg closed 5 years ago

jessegreenberg commented 6 years ago

From https://github.com/phetsims/balloons-and-static-electricity/issues/404. Consider the following HTML.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>title</title>
  </head>
  <body>
    <button id="button1">Button 1</button>
    <button id="button2">Button 2</button>
    <button id="button3">Button 3</button>
    <button id="button4">Button 4</button>

    <p id="readout" aria-live="polite">Readout</p>
  </body>

<script>
  document.getElementById( 'button1' ).addEventListener( 'click', function( event ) {
    document.getElementById( 'readout' ).innerHTML = "button 1 clicked";
  } );

  document.getElementById( 'button2' ).addEventListener( 'click', function( event ) {
    document.getElementById( 'readout' ).innerHTML = "button 2 clicked";
  } );

  document.getElementById( 'button3' ).addEventListener( 'click', function( event ) {
    document.getElementById( 'readout' ).innerHTML = "button 3 clicked";
  } );

  document.getElementById( 'button4' ).addEventListener( 'click', function( event ) {
    document.getElementById( 'readout' ).innerHTML = "button 4 clicked";
  } );
</script>
</html>

Focus moves back to previous buttons if you click a button more than once. To reproduce:

jessegreenberg commented 6 years ago

Submitted the report, lets see what happens.

jessegreenberg commented 6 years ago

Bug was documented here, and the bug was reproduced: https://github.com/FreedomScientific/VFO-standards-support/issues/88

An official report will be filed and additional information will be added to that issue.

jessegreenberg commented 5 years ago

@terracoda @emily-phet I was just notified that this was fixed as of Firefox 67 and JAWS 2019 June update. This was a large reason for why we switched from Firefox to Chrome with JAWS.