How to fix the error "Data tables must have a name"

Overview : Screen Recording 2022-09-13 at 04.32.36 PM

Key Takeaways:

  • All tables should have role="presentation"

  • Tables created in HTML or by using the WYSI editor will not get the necessary attributes by default, and they must be added via the text editor

What to check:

  • does the page contain any tables that were created with the WYSI editor, or hand-coded HTML? This may be contained in a modal or alert.

  • Do all tables created by hand include the role "presentation" on the table tag?

Ex: 

<table role="presentation">
<tr>
<td>data 1</td>
<td>data 2</td>
<td>Data 3</td>
</tr>
</table>

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.