Google Tag Manager

Forum Discussion

E_Finn's avatar
E_Finn
Collaborator
31 days ago

Preference Center - HTML Language Tag

Hi,

We are mid-implementation (Email marketing only) and we are working in two languages. We have built two preference centers (English and French). The html language tag, we know, is used by software that supports users with accessibility issues. So, if somebody has poor vision, they have software that reads the content of the page, and to read the characters correctly the html language tag tells the reader that this is English or French. That way when the reader encounters letters like "é" which don't exist in English, nothing breaks.

In my EN preference center the html language tag loads as EN (in an iFrame, which I think is fine). In the case of my FR preference center the language tag also loads as EN. So I'm wondering if there is a setting in the preference center to adjust language or if I need to maybe use the preference center via API feature to do more flexible things.

Cheers,
Ed 

  • Hello E_Finn  I couldn't find any option to change value of lang attribute in the UI. I think API is the way to go for this one.

    • E_Finn's avatar
      E_Finn
      Collaborator

      Yea we went that way! We did end up realizing that some screen readers don't seem to use the language tag anyhow (seems to be a known bug in at least one case), but at least we can say we tried our best to make things accessible.