From 9361cac90f08369ba5274ca764ada2eeaafc0946 Mon Sep 17 00:00:00 2001 From: piwysocki <86244209+piwysocki@users.noreply.github.com> Date: Thu, 21 Apr 2022 10:43:19 +0200 Subject: [PATCH] ui box - div replaced by main (#2114) Co-authored-by: Piotr Wysocki Co-authored-by: Steve Hobbs --- src/ui/box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/box.js b/src/ui/box.js index 199f3f390..f97fb5a85 100644 --- a/src/ui/box.js +++ b/src/ui/box.js @@ -8,7 +8,7 @@ class ContainerManager { let container = window.document.getElementById(id); if (!container && shouldAppend) { - container = window.document.createElement('div'); + container = window.document.createElement('main'); container.id = id; container.className = 'auth0-lock-container'; window.document.body.appendChild(container);