Skip to content

Commit

Permalink
Rename Accessibility -> PDOM for utils/peer/instance/tests, phetsims/…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Apr 7, 2020
1 parent ef38ee6 commit b275895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/AriaHerald.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import Emitter from '../../axon/js/Emitter.js';
import timer from '../../axon/js/timer.js';
import AccessibilityUtils from '../../scenery/js/accessibility/pdom/AccessibilityUtils.js';
import PDOMUtils from '../../scenery/js/accessibility/pdom/PDOMUtils.js';
import utteranceQueueNamespace from './utteranceQueueNamespace.js';

// constants
Expand Down Expand Up @@ -110,7 +110,7 @@ class AriaHerald {
// must be done asynchronously from setting hidden above or else the screen reader
// will fail to read the content
timer.setTimeout( () => {
AccessibilityUtils.setTextContent( liveElement, textContent );
PDOMUtils.setTextContent( liveElement, textContent );

// Hide the content so that it cant be read with the virtual cursor. Must be done
// behind at least 200 ms delay or else alerts may be missed by NVDA and VoiceOver, see
Expand Down

0 comments on commit b275895

Please sign in to comment.