Change the "tab order" of objects, for accessibility?

marc_renault shared this question 9 months ago
Answered

I've created an applet, but now I'd like to change the order in which objects are selected when the user hits the TAB key. I thought I could do this by re-ordering the construction protocol, but that doesn't work (see my example: https://www.geogebra.org/m/yqnbb4ej).

I also read somewhere that you can change the tab order by renaming objects, but that is not working for me either.

I'm trying to comply with accessibility requirements, so I'd love to know if there's a way to change the tab order - without having to reconstruct the whole applet. Many thanks.

Comments (8)

photo
1

Try:

After the changes in the construction protocol: Save+Reload

(Tested in GGB 5.0 and GGB 6.0 Clasic WEB with save local)

photo
1

Weird - I tried the file you attached, rami, and it worked well: if I change the construction protocol, save, then close and re-open the applet, the tab order changes.

However, with my original applet, changing the construction protocol still has no effect, even after saving, closing, restarting. I'm on Windows, using GGB 5.5.570.0-d. I even restarted my computer, but that didn't help. I created an entirely new applet, but still I can't seem to change the tab order.

photo
1

Try renaming objects which need to be used with Tab.

As far as I know, full accessibility using the keyboard is still a work in progress.

photo
1

Thanks, Simona, that didn't work either. I think the problem is that the tabbing order follows the order of objects in the Algebra window, not the Construction Protocol window. See my final paragraph in response to rami. --Marc

photo
photo
1

Please send the GGB file that was created on your PC and where you cannot (permanently) change the order in the construction protocol.

Please also tell which changes you want to make in the construction protocol (e.g. point M after point L).

You work in GGTube. Try to make the change locally.

If possible, describe WHERE and HOW you make the change and at which STEP it does not go further.

photo
1

Thanks - I've attached it here. To be clear, I CAN permanently change and save the construction protocol; that's not a problem. In the applet, I created 5 points, A, B, C, D, E in that order. When I select the graphics pane and start hitting the Tab key, I can see the points being selected in the order they were created: A, B, C, D, E (then back to again to A so it loops around).

Say I'd like to change the tab order to B, D, E, A, C. I first reorder the steps in the construction protocol. Then I save, close, and re-open the applet. The new construction order is preserved: B, D, E, A, C (and playing the construction protocol displays the points in this new order). However, when I select the graphics pane and start tabbing, the points are still selected in the original order, A, B, C, D, E.

I've tried this now on two different computers and I get the same result.

AH - JUST FOUND THE BUG! When the algebra window sorts by construction order then saving, closing, and re-opening will cause the tab order to change. However, when the algebra window sorts by object type (which I always use), then tabbing will follow the order listed in the algebra window. It appears that tabbing follows the order of objects in the algebra window, not the construction protocol.

So... now is there any chance this can be fixed? :-)

photo
photo
1

838f1ad76b5ef03f062563260dfbaa6b

It is only the setting in the Algebra View that is wrong for your purpose.

Open the head in the algebra view with the small triangle pointing down

Click on the symbol which is marked with 1 in the picture above: a selection appears.

Click on "Construction Order" (marked with 2 in the picture above)

Now the order in the Algebra View corresponds to the order in the Constructions log

This setting is (yes) retained after saving for this file. Aber es ist notwendig das Saven explizit aufzurufen

Menu / File / Save

-----------------------------------------------------------

Everything above you have already found out (I had already prepared it offline and I use it to have a coherent response in this thread)

Only the step below is missing:

-----------------------------------------------------------

This setting is (yes) retained after saving for this file. But it is necessary to call the Save explicitly (the automatic request for a Save is not triggered for this change)

Menu / File / Save

.

It is also possible to specify this setting (together with all other settings) as default value for each (new) applet:

--> Menü / Option / Save Settings

photo
1

Rami,

Many thanks for your time on this.

Marc

photo
© 2020 International GeoGebra Institute