From b275895573d6c878faa2e61b7f27305b901d3939 Mon Sep 17 00:00:00 2001 From: zepumph Date: Mon, 6 Apr 2020 17:02:07 -0800 Subject: [PATCH] Rename Accessibility -> PDOM for utils/peer/instance/tests, https://github.com/phetsims/scenery/issues/997 --- js/AriaHerald.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/AriaHerald.js b/js/AriaHerald.js index 35827e0..1f03dea 100644 --- a/js/AriaHerald.js +++ b/js/AriaHerald.js @@ -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 @@ -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