Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[api-minor] Add support for basic structure tree for accessibility. #13171

Merged
merged 1 commit into from
Apr 9, 2021

Commits on Apr 9, 2021

  1. Add support for basic structure tree for accessibility.

    When a PDF is "marked" we now generate a separate DOM that represents
    the structure tree from the PDF.  This DOM is inserted into the <canvas>
    element and allows screen readers to walk the tree and have more
    information about headings, images, links, etc. To link the structure
    tree DOM (which is empty) to the text layer aria-owns is used. This
    required modifying the text layer creation so that marked items are
    now tracked.
    brendandahl committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    fc9501a View commit details
    Browse the repository at this point in the history