Blazor PDF Viewer Example - Accessible PDF Reading
This sample demonstrates the accessible Read Aloud feature in the PDF Viewer control. It uses the Windows Speech Synthesis API together with Microsoft Edge’s screen reader support to enable users to listen to PDF content and control playback with familiar actions. The feature benefits users who prefer audio interaction, need hands‑free document review, or rely on screen readers for improved accessibility.
The Read Aloud functionality enhances accessibility and convenience by allowing users to consume PDF documents through audio.
Key capabilities demonstrated in this sample:
- Playback controls: Play, Pause/Resume, Stop, and multiple voice selection.
- Line navigation: Move to the next or previous line on the current page.
- Page navigation: Navigate between pages; reading continues sequentially from the first to the last line of the page.
- Read selection: Select any text in the PDF and use Read Selection to read only that content.
For more information about accessibility features in the SfPdfViewer, see the
documentation section.