The Anti-Lock Brake Light and the Check Engine Light both can come on when the battery charge level is LOW.
Using a Hydrometer check the condition of your battery. If all cells are equal and between 1.275 and 1.300 sp.gr.after charging the battery should be Ok. If not, new battery required.
Good luck at this level, alternator next.
Happy Trails Beep Beep from Houston.