Swansea City have confirmed Neil Taylor broke his ankle during their 2-2 draw with Sunderland on Saturday.