Access4all / EPUB

3 stars 1 forks source link

Matching doesn't work (or is not intuitive) #35

Open jmuheim opened 9 years ago

jmuheim commented 9 years ago

I didn't really manage to create a matching, as when I selected something from a dropdown, it always changed stuff in other dropdowns that I wasn't able to comprehend.

screenshot

qtnc commented 9 years ago

Currently, it works like this:

Assume you have two lists of items: from 1 to 5, and from A to E. Basicly, matches or links are always 1:1. A given item can only be associated with exactly one other item in the other side, and they are always symetric/reciprocal, i.e. item X associated with item Y automatically implies that item Y is associated with item X.

If you select for example that item 1 is matching item A, then other comboboxes are automatically updated to reflect that item A is conversely associated to item 1. IF you remove a link, then the combos are also updated. It is made so that it's in any case impossible to ahve two different items pointing to the same end, or to have non-symetric links.

Do you have any suggestion to improve that ?

jmuheim commented 9 years ago

I somehow can't add answers to list 2, I guess that's the problem. :wink:

I can change the name of list 2, but when pressing tab, it doesn't create a first answer (instead, focus jumps to some other place).

screenshot

(By the way: entering a colon opens a dropdown with emoticons... no idea whether it's accessible, either.)

qtnc commented 9 years ago

(By the way: entering a colon opens a dropdown with emoticons... no idea whether it's accessible, either.)

In any case, it's unwanted. It was on Chrome or firefox?

jmuheim commented 9 years ago

Chrome.

qtnc commented 9 years ago

I just tested it now on Chrome windows, and it seems to work properly.

The principle is basicly always the same as for multiple choice and eval quizes. If you press tab when you are at the last combobox, a new item is added if the last one is not empty.

IF you are at the end of list 1 and press tab leaving the last item empty, then you go to list 2. If you are at list 2 and leave the last item empty, then it lets the focus reach the end of the document and start again from the top.

I hope it's a bit clearer now. If you have any suggestion to improve this, let me know as usual.

Note: I didn't managed to make smileys appear. I suppose it's a specific Chrome+Mac thing, it needs to be tested more.