From 60920ae78a8e6ee2158f5ec2b43edd5f57c75e32 Mon Sep 17 00:00:00 2001 From: zepumph Date: Tue, 29 Oct 2019 14:32:07 -0800 Subject: [PATCH] support bear-bones grabbed alerts for the GFL ruler, https://github.com/phetsims/gravity-force-lab/issues/141 --- js/accessibility/GrabDragInteraction.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/accessibility/GrabDragInteraction.js b/js/accessibility/GrabDragInteraction.js index 9ff0d9534..a73d71e2f 100644 --- a/js/accessibility/GrabDragInteraction.js +++ b/js/accessibility/GrabDragInteraction.js @@ -11,6 +11,10 @@ * As a note on terminology, mostly things are referred to by their current "interaction mode" which is either grabbable * or draggable. * + * This type will alert when the draggable is released, but not default alert is provided when the object is grabbed. + * This is because in usages so far that alert has been custom, context specific, and easier to just supply through + * the onGrab listener. + * * NOTE: You cannot add a11y listeners directly to the node where it is constructed, instead see * `options.listenersForGrab/Drag`. These will keep track of the listeners for each interaction mode, and * will set them accordingly.