mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 12:24:25 +02:00
Add aria-label to indicate the current PDF page number to screen readers (#25034)
GitOrigin-RevId: c2d64928378c9919f8ab8480559418cc52338854
This commit is contained in:
@@ -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()}
|
||||
|
||||
Reference in New Issue
Block a user