• Resolved bigdrop.gr

    (@bigdropgr)


    Hi! I am using the WAVE web accessibility evaluation tool to evaluate my website. And I get an error related to the language https://prnt.sc/wTOHw7PkL_j1

    The explanation of the error is:

    What It Means
    The language of the document is not identified or a lang attribute value is invalid.
    Why It Matters
    Identifying the language of the page or page elements allows screen readers to read the content in the appropriate language. It also facilitates automatic translation of content.
    What To Do
    Identify the document language using the <html lang> attribute with a valid value (e.g., <html lang="en">). Ensure that all lang attribute values are valid.
    The Algorithm... in English
    The <html lang> attribute is missing or is empty, or a lang attribute value is not a valid language identifier.

    Can you help me solve this?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bigdrop.gr

    (@bigdropgr)

    Is it possible to get a reply to this?
    This is urgent to me.
    Thank you!

    Thread Starter bigdrop.gr

    (@bigdropgr)

    Any thoughts on this?

    Hello,

    Thank you for your patience.

    Your current theme is missing the lang attribute from the html tag.
    To fix this, look inside your theme for your header.php or similar file where the html tag is added. Make sure you call language_attributes() to get the lang attribute.

    Here is an example of how it should look like:
    <html <?php language_attributes(); ?>>`

    Cheers,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on Wave web accessibility’ is closed to new replies.