Skip to content

Commit 34b4845

Browse files
fix(a11y): add aria-label to PDF viewer in signing screen
Adds aria-label='PDF document to sign' to the PdfEditor component so screen readers and Playwright tests can locate and scope within the PDF viewer region in the signing view. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent f301162 commit 34b4845

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/views/SignPDF/SignPDF.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
ref="pdfEditor"
1212
width="100%"
1313
height="100%"
14+
:aria-label="t('libresign', 'PDF document to sign')"
1415
:files="pdfBlobs"
1516
:file-names="fileNames.length > 0 ? fileNames : [pdfFileName]"
1617
:read-only="true"

0 commit comments

Comments
 (0)