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:

9. George Saville - 5
Beavered away in an advanced midfield role but struggled to link up play. Late tackle was reckless and gave Swansea a penalty. 5 Photo: Stu Forster

10. Duncan Watmore - 5
Operated in a central striker’s position. Saw a first-half effort saved by Freddie Woodman. Subbed at half-time. 5 Photo: Stu Forster

11. Yannick Bolasie - 6
Looked a threat when he got on the ball. Unfortunate to be penalised after his pass back to Bola was converted. 6 Photo: Getty Images

12. Djed Spence - 5
(for Dijksteel, 16) Struggled to make an impact after replacing Dijksteel in the first half. Was subbed off later in the game. 5 Photo: Getty Images


