Add aria-label to indicate the current PDF page number to screen readers (#25034)

GitOrigin-RevId: c2d64928378c9919f8ab8480559418cc52338854
This commit is contained in:
Rebeka Dekany
2025-04-29 16:04:39 +02:00
committed by Copybot
parent 2731ffaf10
commit df3d9099b6

View File

@@ -57,6 +57,7 @@ function PdfPageNumberControl({
<div className="pdfjs-page-number-input">
<form onSubmit={handleSubmit}>
<input
aria-label={t('page_current', { page })}
inputMode="numeric"
value={pageInputValue}
onFocus={event => event.target.select()}