Make certain there is a “Skip to Data Table” (STDT) link when a data table is present underneath a chart. The STDT should be hidden in print mode but visible when the chart is embedded in a dashboard
<?php if ($Print == 'Yes' && !isset($_GET['embed'])) {
// This is print only don’t show the STDT
} elseif ($Print == 'Yes' && isset($_GET['embed'])) {
?><a href=#Datatable>Skip to Data Table</a><?php
} else {
?><br><a href=#Datatable>Skip to Data Table</a><br>
<a href="javascript:void(0)" onClick="<?php echo $link_output ?>">Print</a><br><?php
}
The corresponding data table must have the anchor as well.
<a name='Datatable'></a>