In HTML, I can have <table role=presentation>
which indicates the table isn't a real table and is just used for layout purposes. This helps with screen reader navigation to real tables.
Is there a similar construct for tables in tagged PDF?
As far as I know, the <table>
tag in PDF means it's a real table. I couldn't find any properties that would indicate otherwise.
Using tables for layout in PDF isn't ideal, but it's not prohibited either. If you want to emulate
<table role="presentation">
, then simply omit any data table markup, like the use of table headers (<th>
), caption tags, summary attributes, or header/ID associations.This is explained specifically within the context of PDF on the VA.gov section 508 website: