Auth0 Login Page Accessibility Issue with FastPass - “The <html> element does not have a lang attribute”
Last Updated:
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
Applies To
- Auth0 Login Page
- Okta FastPass
Solution
- Update the attribute in <HTML> tag on the universal login page by calling the PUT /api/v2/branding/templates/universal-login endpoint ()
- Update `<html>` to `<html lang={{locale}}>`.
Here is the sample: