ReadText() command not executing using space bar.

amnavetta shared this problem 4 months ago
Solved

In the following app, the script for the button shown as "Draw Vector" should execute the ReadText() command, which it does correctly when clicked with the mouse. However when tabbed through to select the button, then pressing space to run the script, the ReadText() command does not execute. Using the space bar is the only time it is actually needed. The rest of the OnClick script appears to be running either way.

https://www.geogebra.org/m/zpebh4yq

Comments (5)

photo
1

shift+space works in FF

space works fine for me in chrome

photo
1

Could not get it to work in FF either. It just says "Button draw vector pressed." Should follow that up with other text, can hear it if clicking on the button, but not when using space (or shift space). Same problem here with a little bit different scripting on the button: https://www.geogebra.org/m/qpjwhcmk

photo
1

Note that in the debug console window, I do see the text, but the screen reader (NVDA) is not actually picking it up.

photo
1

Here is a simple demo file. When using the debug console, the text appears to be read, but when actually listening to a screen reader (NVDA) in my case, the text is not being read. I have seen this in many apps, so it was not difficult to reproduce. This file includes a workaround.

https://www.geogebra.org/m/uh2ar56b

photo
1

Please try the new release (v560)

© 2019 International GeoGebra Institute