Merge pull request #20281 from calixteman/comment_dialog_focus

[Editor] Fix the focus outline for the comment dialog buttons
This commit is contained in:
Tim van der Meij 2025-09-18 20:50:50 +02:00 committed by GitHub
commit 20f31d782b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 8 deletions

View File

@ -37,11 +37,6 @@
align-items: flex-start;
gap: 4px;
*:focus-visible {
outline: 2px solid var(--comment-focus-outline-color);
outline-offset: 0;
}
#commentManagerToolbar {
width: 100%;
height: 32px;

View File

@ -792,12 +792,12 @@ See https://github.com/adobe-type-tools/cmap-resources
</div>
</dialog>
<dialog class="dialog commentManager" id="commentManagerDialog">
<dialog class="dialog commentManager" id="commentManagerDialog" aria-labelledby="commentManagerTitle">
<div class="mainContainer">
<div class="title" id="commentManagerToolbar">
<span id="commentManagerTitle" role="sectionhead" data-l10n-id="pdfjs-editor-edit-comment-dialog-title-when-adding" tabindex="0"></span>
<span id="commentManagerTitle" role="sectionhead" data-l10n-id="pdfjs-editor-edit-comment-dialog-title-when-adding"></span>
</div>
<textarea id="commentManagerTextInput" data-l10n-id="pdfjs-editor-edit-comment-dialog-text-input"></textarea>
<textarea id="commentManagerTextInput" data-l10n-id="pdfjs-editor-edit-comment-dialog-text-input" tabindex="0"></textarea>
<div class="dialogButtonsGroup">
<button id="commentManagerCancelButton" type="button" class="secondaryButton" tabindex="0">
<span data-l10n-id="pdfjs-editor-edit-comment-dialog-cancel-button"></span>