Giter Site home page Giter Site logo

Comments (3)

iRyusa avatar iRyusa commented on September 18, 2024 2

from mjml.

iRyusa avatar iRyusa commented on September 18, 2024

It seems it was something recommended by https://emailmarkup.org/en/reports/accessibility/2023/ cc @garrettjohnson see #2725

So I'm closing this as it seems good :

(5) Serious: element must have a lang attribute
Issue present in 72.19% (211,915) of emails tested.

Number of appearances: 211,915.

Why it’s needed:
Setting a language for the document helps with a range of things from translation tools to tell assistive technology how to correctly read out the content.

How to fix this:
Add a lang="" attribute to the element. It’s important to apply the correct language, however if you need fallback for when a language is not set then you can set lang="und", this sets the language as undetermined. It’s not nearly as good as setting a language but it’s much better than setting nothing.

from mjml.

kylesuss avatar kylesuss commented on September 18, 2024

@iRyusa thanks for the link -- I couldn't find anything like that when I looked it up. Ok I guess we'll roll with it then!

from mjml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.