Your retractable attic ladder is parallel to the ridge direction. But doesn't the ladder correlate with the beams (from eaves side to eaves side) of the roof truss? Or is the crossbeam missing accordingly?
A retractable attic ladder ideally has its exit in or near the ridge line. If its axis is parallel to this, then it naturally lies perpendicular to the direction of the rafters (which in turn are regularly parallel to that of the ceiling joists). However, I find "correlation" too strong a word here, as there is no connection. In a beam ceiling between the attic and the upper attic, such a crosswise arrangement results in the necessity for replacements, which you have correctly identified. The way it is resolved here is considered predominantly favorable. Even where the ceiling between the attic and the upper attic is a concrete ceiling, it is usually handled in the same way.
My pull-down attic ladder is parallel to the normal staircase, i.e., installed between the crossbeams.
The "normal staircase" between the ground floor and attic is, at least in a wooden beam ceiling, favorably located on an axis parallel to the ceiling joists/rafters/gables. However, it is also longer and wider. Therefore, if it is oriented crosswise, it would usually require four replacements due to its length (the attic ladder no more than two). This is also avoided because it already requires a replacement due to its width.