After Ayew’s first-half opener, Boro appeared to have salvaged a point when Sam Morsy’s deflected effort beat Swans goalkeeper Freddie Woodman in stoppage-time.
Yet there was still time for a late twist when George Saville was adjudged to have fouled Jake Bidwell in the box and Ayew converted from 12 yards.
Boro boss Neil Warnock was furious with the officials after the match after Marc Bola saw a goal ruled at 1-0 out when team-mate Yannick Bolasie was penalised for a foul on Jay Fulton.
Warnock was also unhappy that Swansea’s Ryan Manning wasn’t punished for a foul on Anfernee Dijksteel in the first half.
The result leaves Boro ninth in the Championship table, seven points off sixth-place Barnsley in the final play-off position.
Here’s how the visitors fared at the Liberty Stadium:

13. Chuba Akpom - 6
Came on at half-time. Gave Boro a focal point yet Swansa’s back three kept him on the fringes. 6 Photo: Getty Images

14. Neeskens Kebano - 6
(for Bolasie, 66) A few flashes in the final third when he got on the ball. 6 Photo: Getty Images

15. Nathaniel Mendez-Laing - 7
(for Spence, 78) Made an impact with a late cameo and assisted Morsy for the goal. 7 Photo: Dan Istitene

16. Marvin Johnson - 7
(for Bola, 78) Looked bright yet again after coming off the bench. 7 Photo: George Wood


