XHTML and accessibility: the LANG attribute

Rate It (1)

Last post 02-26-2006 7:10 PM by oneworld95. 2 replies.

Sort Posts:

  • XHTML and accessibility: the LANG attribute

    02-24-2006, 1:57 PM
    • Participant
      1,650 point Participant
    • oneworld95
    • Member since 01-11-2004, 5:16 AM
    • Posts 405
    Hi. Why does one of the Priority 3 requirements of the Bobby Accessibility Guidelines (http://bobby.watchfire.com/) break XHTML 1.1 compliance? Here's the element that Bobby requires: <html lang="en">, but XHTML 1.1 breaks on this (http://validator.w3.org/). It's like you have to choose one or the other. Any thoughts?
  • Re: XHTML and accessibility: the LANG attribute

    02-26-2006, 6:03 PM

    it is because you have to do it the xml way when doing xhtml. Instead of lang="da-DK" use xmllang="da-DK"

    --------------------------
    www.madskristensen.dk

  • Re: XHTML and accessibility: the LANG attribute

    02-26-2006, 7:10 PM
    • Participant
      1,650 point Participant
    • oneworld95
    • Member since 01-11-2004, 5:16 AM
    • Posts 405
    That was it. Thanks, Mads. It worked like a charm Big Smile [:D]
Page 1 of 1 (3 items)