The following example has four elements in two spans:

label1:(input1) label2:(input2)

When you hit the button to switch the document.dir to 'rtl', it comes out
............... (input1):label2 :(input2) label1

Whereas what I expected and need is
............... (input2):label2 (input1):label1

Please help. I could live without the colons, but not with the broken span cum misleading labels....