mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
[Editor] Add an aria label to an added signature (bug 1952571)
This commit is contained in:
parent
febf59ce75
commit
b5a7b827b5
2 changed files with 6 additions and 0 deletions
|
@ -259,6 +259,7 @@ class SignatureEditor extends DrawingEditor {
|
|||
const { outline } = (this.#signatureData = data);
|
||||
this.#isExtracted = outline instanceof ContourDrawOutline;
|
||||
this.#description = description;
|
||||
this.div.setAttribute("aria-label", description);
|
||||
let drawingOptions;
|
||||
if (this.#isExtracted) {
|
||||
drawingOptions = SignatureEditor.getDefaultDrawingOptions();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue