Armor enchanted with Curse of Binding can be removed via right-clicking another armor in the hotbar.
Curse of Binding is ignored when switching the armor from hotbar
The right button replaces the armor or elytra bindcurse
Armor swapping ignores curse of binding
Curse of binding can be taken off
It's not possible to replace armor by right clicking while holding the armor item