X-ray. To confirm a diagnosis of arthritis and determine the extent of the condition, doctors may recommend an X-ray of your foot and ankle. X-rays create pictures of the bones of the foot and ankle that doctors analyze for any visible changes in the spacing of the joints.