Skip to content

EPUB WCAG compliance "Every HTML document needs a lang attribute" #2661

@juliusross1

Description

@juliusross1

Created an epub file using latexmlc and ran it through Ace by Daisy who indicate this violation of WCAG:

Serious: WCAG 2.0 A
html-has-lang
[Learn about: Language](https://github.com/brucemiller/LaTeXML/issues/new#)
The <html> element does not have a lang attribute 
 Ensure every HTML document has a lang attribute 
 <html> element must have a lang attribute
Image

I looked at the epub file and the lang is there in the content.opf file but is not included in the xhtml files.

Somebody with more expertise than I have would need to say if this is actually required by WCAG, or if the Ace by Daisy is reporting a violation that is not really there.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions