It does if you are making the door bigger to allow a wider opening.Doesn't really matter, the door doesn't swing over the stairs.
If the handrail to wall distance is narrower than the opening you make, well, you've essentially accomplished nothing but replacing a perfectly good door.
Unless of course you intend to carry everything into the basement above waist high, and it fits under the ceiling of the stairs that way.
Does that explain it better? 😉