“Ok-key” and “cancel-key”, which one should be set up on the left? It’s an eternal war of button sort between UI designers preferring “ok/cancel” type and the adherents of “cancel/ok” type, both sticking to their own viewpoints and not reaching a consensus.So, what's your viewpoint?
If Ok is placed on the left - They’ll first see the primary action on the left and then look at the secondary action on the right. Then they’ll move their eyes back to the primary action to click it. This creates a total of three visual fixations in multiple directions.
Whereas if the Ok button is placed is placed on right there will be only two visual fixations.
Primary button is usually placed on the right and secondary button the left.
The default answer is: which ever is consistent with the rest of your app.
If you want to know what should be proper -- buttons that are progressive (OK, Save, Next, etc) should be on the far right much like when you turn the page of a book. Any regressive button (Cancel, No, Reset, etc) should be on the left much like going backwards IF you live in a Western world (read left to right).
This is a lot like the Back and Forward buttons. Back is always on the left while Forward is always on the right.