Problem/Motivation
There is a small accessibility improvement that can be made in the main template for emails.
The table used to wrap the body of the email should be indicated as presentation to improve screen readers.
Proposed resolution
<html>
<body>
<div{{ attributes.addClass(classes) }}>
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
<div style="padding: 0px 0px 0px 0px;" class="clearfix">
{{ body }}
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
here is more information on the role on tables for email accessibility
https://www.emailonacid.com/blog/article/email-development/why-should-i-...
Issue fork symfony_mailer-3426197
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
ehlovader commentedComment #6
adamps commentedThanks