Hello Telerik Support,
We’re implementing PDF accessibility in Telerik Reporting and enabled it via deviceInfo passed to RenderReport:
var deviceInfo = new Hashtable
{
{"EnableAccessibility", true},
{"Title", "CustomTitle"},
{"DocumentCreator", "CustomCreator."},
{"DocumentProducer", "CustomProducer."},
{"DocumentNaturalLanguage", "en-En"},
{"WriteDefaultAccessibleDescription", false},
{"FontEmbedding", "Full"},
};
var result = reportProcessor.RenderReport("PDF", reportSource, deviceInfo);After rendering document, document has accesability features but PAC (PDF checker for accesability) reports accessibility warnings related to tagged content structure.
In particular, text is split into multiple <Span> tags and link text is also tagged as <Span> instead of a link annotation <Link> element (example screenshot attached; sensitive data obfuscated).
We attempted multiple approaches to generate a proper link structure:
- Using <a href="..."> inside HtmlTextBox
- Using Interactivity → Action → NavigateToUrl (with and without href)
- Switching from HtmlTextBox to TextBox and applying NavigateToUrl
- Creating dedicated HtmlTextBox/TextBox elements containing only the link
None of these produced a properly tagged link element in the output PDF.
Are we missing any additional configuration or a required reporting element setup to ensure hyperlinks are exported as proper link annotations/tags in accessible PDFs?
We’re using Telerik Reporting version 18.3.24.1218.
