As
@Woody Alan and others have suggested, if it’s practicable to instal one, a wooden jobbie may be the way to go for longer term.
Our two came with the frame carcass, etc, work more effectively, take up less space and feel significantly more secure.
When we extended our main bedroom with stud walking towards the landing, we had to remove one folding wooden one and swap it for an aluminium sliding type as there became insufficient room to fold it out.
The aluminium one in comparison feels rickety and is much narrower in depth of tread and general width.
I’ll be buying some spare brackets, hinges and fixings from the manufacturer and create another folding point by sawing the frame at the appropriate spot to create four sections from three which will then fold into the space available.
I’m sure it’s not recommended but if I
muck it up or it doesn’t work, I’ll reinstall the aluminium one.
This doesn’t help the OP other than for consideration of whether a wooden ladder will ultimately help in the longer term.