Roger Federer has been elected to the International Tennis Hall of Fame as part of the Class of 2026.