Aston Villa captain Micah Richards has been given a one-match ban for an incident in the tunnel following his side's defeat by Swansea City.