Skip to main content

HTML lang tag not set correctly on initial page load - Help Center

As you can see in the video below, when first loading any page in the Help Center, when a non-english locale is selected (e.g. French) the html lang tag is set to lang="en".

However, when navigating to another page, the lang tag is set correctly to lang="fr".

If you reload the page, it goes back to lang="en".

We noticed this, because most of our customers use screen-readers, and for some screen-readers, the speech synthesis is based on the html lang tag value. It is quite uncomfortable to have a digital english voice read to you in french !

Post type
68097ad297a301c207158357
Status: Completed5 comments

Log in to comment and vote

Comments5

  • Nathan D.

    •

    Mar 31

    @Pavel Sušický Is it possible to make this post public so that I can share it with the screen reader users who had a problem. I want them to know that you take accessibility seriously !

    • Erik Kaljumäe

      Team•

      Mar 31

      Hi @Nathan D. ,

      This post is now public, so you can share it with everyone.

  • Nathan D.

    •

    Mar 31

    @Pavel Sušický thank you for the quick fix ! It works well !

  • Nathan D.

    •

    Mar 30

    Furthermore, this issue also affects all pages within Feedback, but for some reason, not the Roadmap.

  • Nathan D.

    •

    Mar 30

    For information, this is a huge pain point because it means screen readers like VoiceOver will read a page written in french with an english voice ! It makes it incredibly frustrating for blind or visually impaired users to use Featurebase.