XML

What the issue is

While the lang attribute is used in HTML to indicate the language of the page or parts thereof, XML-based documents, such as SVG or XHTML, should use the xml:lang attribute for this purpose. When xml:lang is missing, incorrect, or inconsistent with the HTML lang attribute in XHTML documents, it can lead to confusion for assistive technologies, affecting the document's accessibility.