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:

5. Paddy McNair - 7
Started at the back but often drifted into midfield as he man-marked Korey Smith in the first half. Saw more of the ball after the break. 7 Photo: Alex Pantling

6. Marc Bola - 6
Looked lively on the left in the first half but was caught in a mix-up with Howson which led to the opener. 6 Photo: Alex Burstow

7. Jonny Howson - 6
Got in Bola’s way when the defender was trying to clear the ball, which led to Swansea’s opener. Full of energy and had more of an influence after the break. 6 Photo: Stu Forster

8. Sam Morsy - 8
Back in the side and was excellent in midfield. Latched onto loose balls and broke up play in the engine room. Capped off a man of the match performance with a goal. 8 Photo: Catherine Ivill


