3 Replies Latest reply on Dec 19, 2017 3:30 PM by meKarla

    Need to add ISO 639 language code to pages

    MarciaWright Level 1
      My accessibility testing of RoboHTML files is failing with this error:
      WCAG 2.0: Success Criterion 3.1.1: The value of the LANG attribute must be set to one of the ISO 639 language codes. [LanguageISO639_2].
      I tried adding the following lines of code (one at a time) to one of my pages:
      <html lang="eng" xml:lang="eng">
      <html lang="en-us" xml:lang="en-us">
      <html lang="en" xml:lang="en">
      <html xmlns=" http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
      <hhtml xmlns=" http://www.w3.org/1999/xhtml" xml:lang="eng" lang="eng">

      Then I regenerated the files, but I still get the error.
      Does anyone know how I can fix this? It would be nice if I could add the correct code to the template ...