The Welsh government says it is matching the teacher pay award in England because of the ‘no detriment principle’.