Physical size of uno vs leonardo and pin locations

i found a terminal connector shield for the uno, its a individual both side shield the pins go into the i/o pin ports on the board and out to terminal connector blocks. will the same shield work for the leonardo ? shield in question

i did compare the pinout of both leonardo and uno and they both seem to have same no of pin header physically.

yes