It should be very illegal to bring such raw materials on the market.
The main way that is achieved is by firing the ceramics at higher temperatures and longer to ensure the lead is better chemically bound to the rest of the pottery and leaches slower.
(Lead is not used on stoneware or porcelain.)