“foot / leg” in Japanese is 足, read soku, ashi, ta (そく, あし, た). It is a Grade 1 Kyōiku kanji, taught in year 1 of Japanese elementary school, and appears in words such as 足音 (footstep sound).
What does 足 mean?
足がいたい。
Same sound, different character — the classic trap. Compare them side by side: