Some test text!

menu
Accessibilitykeyboard_arrow_down

Accessibility

Ensuring that web applications follow accessibility best practices ensures that everyone can use your product, including those with motor, visual, or other impairments.

WebViewer 7.0 introduced accessibility features to allow users to navigate through the user interface using keyboard navigation, screen readers, and other accessibility tools. Most of these features are permanently enabled to improve the accessibility of the application. However, by setting accessibleMode to true in your WebViewer constructor options, you can add some additional accessibility features.

Webviewer(
 {
   initialDoc: hashFile,
   path: "/lib",
   initialDoc: "/samples/files/cheetahs.pdf",
   accessibleMode: true, // Enable accessible mode
 },
 document.getElementById("viewer")
).then((instance) => {
 // ...
});

Enabling accessible mode will cause two main changes to the user interface.

linkPage content accessible by screen reader

Each PDF page will be focusable, and text content will be extracted from the document and inserted into the DOM. This allows screen readers to read out the text content of each page.

linkSkip to section tab modal

There will be a “Skip To” section that appears when the user begins tabbing through the page content

Skip to content selector

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.