“The <html> element does not have a lang attribute error” when Checking the Auth0 Login Page Issue with Fastpass

Problem statement

When using the New Universal Login experience and checking the Auth0 login page accessibility issue with Fastpass, the below error is received:

Fix the following:

Solution

  1. Update the attribute in tag on the universal login page by calling the PUT /api/v2/branding/templates/universal-login endpoint ()
  2. Update <html> to <html lang={{locale}}>.

Here is the sample: