Goals from Sean McConville and Paul Smyth moved Stanley five points clear of the bottom four with two games left at Play-Off chasing Doncaster Rovers.John Coleman had said the Reds would enjoy the Keepmoat pitch and it was probably one of the best performances of the season to move Stanley up to 14th place in League One.
Accrington had to cope without Dimi Evtimov (suspended) and injured Scott Brown, Callum Johnson and Sam Finley but they put on a strong show from the off.
A Danny Andrew free kick was headed clear by Ross Sykes in the early stages but then Stanley took charge, forcing a number of corners with the best chance falling to Ben Richards-Everton whose bullet header was over the bar.
The Reds took the lead on 17 minutes when Smyth played a superb ball which found McConville to the left of the area and he rifled it home. It was his 11th of the season.Doncaster didn't really trouble Jonny Maxted, ex-Red Mallik Wilks firing over and John Marquis mis-kicking an effort, until the 30th minute when he did well to keep out Tommy Rowe's fierce strike.
At the other end, McConville came so close to making it two when the ball came to him unmarked in the area with the Doncaster defence running to cover but he blasted over.
In a bizarre situation on 37 minutes Janoi Donacien was booked for time-wasting as he waited to take a throw – but he'd delayed it so a Doncaster player could have treatment for a head injury and it was overturned.
Marquis came close to levelling on 43 minutes when he got the ball around six yards out but his shot took a deflection.
QPR loan striker Smyth doubled Stanley's lead on 44 minutes when he got the ball on the edge of the area, controlled it and chipped it over Marko Marosi.
Doncaster made a double substitution at half-time and started with purpose, Wilks firing just wide from close range.
There was a let off for Rovers when Matty Blair headed against his own crossbar on 53 minutes and then the woodwork saved Stanley at the other end with sub Kieran Sadlier's 20-yard strike crashing off the crossbar.
Doncaster just couldn't test Maxted with Marquis and Sadlier both unable to find the target but they got one back on 89 minutes when Andrew's 20 yard free kick deflected off the wall and beyond Maxted.
Rovers hit the post with the final kick of the game as Stanley held out for an important win.