A Yorkshire council has been fined after an employee was injured when he fell from a ladder.