Thanks for the query. Spinal stenosis
usually causes pain, tingling
in legs on walking and relieves on stooping forward position. Swelling in ankle and foot have multiple reasons. Definitely if you dont walk or do any exercise it can cause swelling due to sluggish blood circulation however we also need to rule systemic causes such as hypertension
, kidney problem, thyroid
problem or locally vericose veins. I would suggest get examined by orthopaedic doctor to know exact cause. Thanks.