Auth0 Login Page Accessibility Issue with FastPass - “The <html> element does not have a lang attribute”

Overview

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:

  • The <html> element does not have a lang attribute

HTML Element

Applies To

  • Auth0 Login Page
  • Okta FastPass

Solution

  1. Update the attribute in <HTML> 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:


Sample HTML 

 

Recommended content

No recommended content found...