Just Dance (Wii) does not require a dance mat.
Dance mats (DDR-style) are for Dance Dance Revolution / Dance Dance Revolution: Hottest Party on Wii — different games.
Just Dance 2024+ are Switch/PS5/Xbox only. Wii last got Just Dance 2020.