Copy link to clipboard
Copied
I just noticed a bug this morning where validly tagged table headers are failing because the caption tag is the first child inside the table tag. Per Adobe's documentation, captions can be either the first or last child of the table tag, and I have included the caption tag as the first child for sometime now without issues. When I moved the caption tag to the last position in the table tag, the accessibility error disappeared. Was there a change recently where the caption tag must be the last child in a table tag?
Copy link to clipboard
Copied
Hi @BJ Romanowski,
Hope you are doing well. Thanks for writing in!
This sounds strange and shouldn't be happening.
According to the HTML specification, a <caption>
element can indeed be placed either at the beginning or end of a table.
Recommended steps for now:
Keep Caption at the End: Since moving the caption to the last position resolved the issue, it might be best to adopt this structure moving forward to ensure compliance with the current validation rules.
Test Across Files: If you have different files, please test the same workflow in those to see if the issue persists. This can help confirm whether it's a new bug or an issue with the specific file.
If this happens with all the files, do let me know and I can get this checked with the team.
-Souvik