-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
How can we reproduce this bug?
Any component that generates a <table> element.
What did you expect to happen?
Add role="presentation" to the <table>.
What happened instead?
Without this ARIA Role, screen readers try to read the table as tabular data, which is incorrect.
What email clients does this happen in?
All, when a screen reader is being used.
Most of the time you can add a role="presentation" to the Inky component, in the case of <center>, it does not get applied correctly. Ideally, that role would automatically get applied during the build system to keep the working markup cleaner. I don't think there are any drawbacks to this because if you really wanted to display a <table> as tabular data, you would just build the table using the <table> element, not <container>.
Further Reading: http://blog.rebelmail.com/accessibility-in-email-part-ii/