Set "presentation" role for page canvases (issue 14437)
This commit is contained in:
parent
c25429be44
commit
8c9678158e
@ -837,6 +837,7 @@ class PDFPageView {
|
||||
|
||||
const viewport = this.viewport;
|
||||
const canvas = document.createElement("canvas");
|
||||
canvas.setAttribute("role", "presentation");
|
||||
|
||||
// Keep the canvas hidden until the first draw callback, or until drawing
|
||||
// is complete when `!this.renderingQueue`, to prevent black flickering.
|
||||
|
Loading…
Reference in New Issue
Block a user