Comments (3)
from mjml.
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.
@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)
- how to add a helper container for an image so it can be centered between elements. HOT 1
- Custom mj-head component causes TypeError: this.context.processing is not a function HOT 8
- Outlook 2404 build 17531.20119 not rendering MJML template HOT 10
- MJML Templates not rendering as expected in New Outlook on Windows HOT 4
- Wrong vertical-align in mj-column HOT 1
- Outlook web client doesn't render columns HOT 5
- mjml column is not working in hotmail
- Invalide Certificate HOT 8
- Try it live does not allow pasting HOT 3
- HTML Comments rendered with additional white space HOT 3
- Replace old not maintained Laravel / PHP package HOT 3
- Button rendered without href url on Outlook email HOT 5
- Splitting mjml2html to allow for better use of custom components and templating HOT 1
- installation causing vulnerabilities HOT 1
- Inline external fonts HOT 1
- Handlebars being thrown out in the compiled html in a overridden mjml-column component HOT 2
- Mj-column borders w/ border-radius are not rendering correctly HOT 1
- Possibility to add default <mj-section> background-color HOT 1
- Different outlook browsers rendering differently? HOT 4
- mj-raw component breaks html in multi column layout HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mjml.