eIDAS (EU Regulation 910/2014) defines three electronic signature tiers — simple, advanced, and qualified — and requires EU member states to accept them, with qualified signatures (certificate-based, from a trusted provider) carrying the equivalent status of handwritten ones. The ESIGN Act (2000) does the same job federally in the US: no document can be denied legal effect solely because it is electronic, with intent-to-sign and consent requirements.
Together they are why browser-based signing is legally routine: a drawn or typed signature on a contract is enforceable in both jurisdictions for the overwhelming majority of commercial agreements.
The edge cases that need more: qualified eIDAS signatures for specific regulated filings, and notarized documents in jurisdictions requiring physical presence or special remote-notarization platforms.