From b4abe3c0d83db05c5245219b25d1e7bea6ed7eb7 Mon Sep 17 00:00:00 2001 From: zepumph Date: Tue, 2 Apr 2019 17:46:10 -0800 Subject: [PATCH] update on focus value text on focus not blur, https://github.com/phetsims/gravity-force-lab-basics/issues/107 https://github.com/phetsims/scenery/issues/951 --- js/accessibility/AccessibleValueHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/accessibility/AccessibleValueHandler.js b/js/accessibility/AccessibleValueHandler.js index 9a1091c1..e9785052 100644 --- a/js/accessibility/AccessibleValueHandler.js +++ b/js/accessibility/AccessibleValueHandler.js @@ -139,7 +139,7 @@ define( require => { // When not providing a timeout, we would often get this change for the previously focused element even // though it wasn't the active element of the screen. Perhaps this is just a bug/problem with how AT monitor // for aria-valuetext updating. - blur: () => { timer.setTimeout( () => this.updateOnFocusAriaValueText(), 0 );} + focus: () => { timer.setTimeout( () => this.updateOnFocusAriaValueText(), 0 );} }; this.addInputListener( valueHandlerListener );