View Single Post
Old 07-30-2020, 12:31 PM   #317
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,321
Karma: 95299999
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by exaltedwombat View Post
There's two possible items, lang and xml:lang. Epubcheck only seems to like one of them.
The recommendation on this topic from the Daisy Accessible Publishing Knowledge Base is:

Quote:
Is it necessary to specify both the lang and xml:lang attributes?

For optimal accessibility both should be specified when creating XHTML content. Assistive technologies may only recognize one or the other attribute.

In addition, if XHTML documents are rendered as HTML by a user agent, only the lang attribute may be recognized.

The xml:lang attribute is not valid in HTML documents, only in XHTML.
jhowell is online now   Reply With Quote