I would like to create an accessible PDF with a table structured like example 1 in this web accessibility tutorial. My SAS code is below. CommonLook Validator says data cells (2,2) and (2,3) do not have column headers associated with them. When viewing the results as HTML, I can see the column header scope attributes are "col". Is there a way to view the header scope attributes in the PDF? Thanks ods pdf file='c:\temp\test.pdf' accessible;
data _null_;
dcl odsout ods();
ods.table_start();
ods.row_start();
ods.format_cell();
ods.format_cell(type: 'H', style_elem: 'header', text: 'A');
ods.format_cell(type: 'H', style_elem: 'header',text: 'B');
ods.row_end();
ods.row_start();
ods.format_cell(type: 'H', style_elem: 'rowheader', text: 'A');
ods.format_cell(text: '1');
ods.format_cell(text: '2');
ods.row_end();
ods.table_end();
run;
ods pdf close;
... View more