html-email: add role=presentation

Add role="presentation" on table tag to help screenreaders' restitution. It is not a data table but a layout table so we do not need to make a screenreader reads all the table structure.
This commit is contained in:
Lena 2021-01-07 12:32:24 +01:00 committed by GitHub
parent e1292194df
commit 8ea3efc08b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ Inline your CSS as much as possible.
### Basic layout
```html
<table cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td width="auto"></td>
<td width="600" background="#ffffff">