General Product Safety Directive (EU) / Regulations (UK)
UK
UK GPSR guidance: https://www.gov.uk/government/publications/general-product-safety-regulations-2005/general-product-safety-regulations-2005-great-britain
The Electrical Equipment (Safety) Regulations 2016 - basic requirements for any electrical item brought to market
and the actual legislation: https://www.legislation.gov.uk/uksi/2016/1101/contents
plus subsequent amendments: The Product Safety and Metrology etc. (Amendment etc.) (EU Exit) Regulations 2019
The Electrical Equipment (Safety) Regulations 2016: Northern Ireland - and similar regulations for Northern Ireland
EU
Product safety and GPSD overview: https://ec.europa.eu/info/business-economy-euro/product-safety-and-requirements/product-safety/consumer-product-safety_en