Skip to content

Commit 0765248

Browse files
zepumphjessegreenberg
authored andcommitted
prefer pdom logic on the view-side of buttons, rename a11y-> pdom, phetsims/sun#639
1 parent 518b3f3 commit 0765248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/moleculesandlight/view/MoleculesAndLightScreenView.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class MoleculesAndLightScreenView extends ScreenView {
194194
dialog.show();
195195

196196
// if listener was fired because of accessibility
197-
if ( showLightSpectrumButton.buttonModel.isA11yClicking() ) {
197+
if ( showLightSpectrumButton.isPDOMClicking() ) {
198198
dialog.focusCloseButton();
199199
}
200200
},

0 commit comments

Comments
 (0)