Door Behind a Door by Code

I am in California. I have a French door 60in wide right hand I swing for interior hallway. According to code, can I have a 18 in or 22 in door for attic access on the left side of the French door, meaning when the inactive left side of the French door is open (inswing) the attic door will be behind the left panel of French door. Is this allowed by code?