A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Chore: add some missing UI accessibility labels (#13772)
shamoon3f4d327f647a
diff --git a/src-ui/src/app/components/admin/tasks/tasks.component.html b/src-ui/src/app/components/admin/tasks/tasks.component.htmlindex f1220e4b5..b16f19c47 100644--- a/src-ui/src/app/components/admin/tasks/tasks.component.html+++ b/src-ui/src/app/components/admin/tasks/tasks.component.html@@ -89,7 +89,7 @@</div></div>@if (filterText?.length) {- <button class="btn btn-link btn-sm px-2 position-absolute top-0 end-0 z-10" (click)="resetFilter()">+ <button class="btn btn-link btn-sm px-2 position-absolute top-0 end-0 z-10" (click)="resetFilter()" aria-label="Clear search" i18n-aria-label><i-bs width="1em" height="1em" name="x"></i-bs></button>}@@ -208,7 +208,7 @@</td>}<td class="d-lg-none">- <button class="btn btn-link" (click)="expandTask(task); $event.stopPropagation();">+ <button class="btn btn-link" (click)="expandTask(task); $event.stopPropagation();" aria-label="View task details" i18n-aria-label><i-bs width="1.2em" height="1.2em" name="info-circle"></i-bs></button></td>diff --git a/src-ui/src/app/components/admin/trash/trash.component.html b/src-ui/src/app/components/admin/trash/trash.component.htmlindex 9f7037efd..bb9a947a6 100644--- a/src-ui/src/app/components/admin/trash/trash.component.html+++ b/src-ui/src/app/components/admin/trash/trash.component.html@@ -64,7 +64,7 @@<td scope="row"><div class="btn-group d-block d-sm-none"><div ngbDropdown container="body" class="d-inline-block">- <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle>+ <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle aria-label="Actions" i18n-aria-label><i-bs name="three-dots-vertical"></i-bs></button><div ngbDropdownMenu aria-labelledby="actionsMenuMobile">diff --git a/src-ui/src/app/components/app-frame/app-frame.component.html b/src-ui/src/app/components/app-frame/app-frame.component.htmlindex 08dfb314b..59b76de6b 100644--- a/src-ui/src/app/components/app-frame/app-frame.component.html+++ b/src-ui/src/app/components/app-frame/app-frame.component.html@@ -34,7 +34,7 @@}<pngx-toasts-dropdown></pngx-toasts-dropdown><li ngbDropdown class="nav-item dropdown">- <button class="btn ps-1 border-0" id="userDropdown" ngbDropdownToggle>+ <button class="btn ps-1 border-0" id="userDropdown" ngbDropdownToggle aria-label="User menu" i18n-aria-label><i-bs width="1.3em" height="1.3em" name="person-circle"></i-bs><span class="small ms-2 d-none d-sm-inline">{{this.settingsService.displayName}}@@ -71,7 +71,7 @@[ngClass]="slimSidebarEnabled ? 'slim' : 'col-md-3 col-lg-2 col-xxxl-1'" [class.animating]="slimSidebarAnimating()"[ngbCollapse]="isMenuCollapsed()">@if (canSaveSettings) {- <button class="btn btn-sm btn-dark sidebar-slim-toggler" (click)="toggleSlimSidebar()">+ <button class="btn btn-sm btn-dark sidebar-slim-toggler" (click)="toggleSlimSidebar()" [aria-label]="slimSidebarEnabled ? 'Expand sidebar' : 'Collapse sidebar'" i18n-aria-label>@if (slimSidebarEnabled) {<i-bs width="0.9em" height="0.9em" name="chevron-double-right"></i-bs>} @else {@@ -363,7 +363,7 @@</a>}} @else {- <a *pngxIfPermissions="{ action: PermissionAction.Change, type: PermissionType.UISettings }" class="small text-decoration-none" routerLink="/settings" fragment="update-checking"+ <a *pngxIfPermissions="{ action: PermissionAction.Change, type: PermissionType.UISettings }" class="small text-decoration-none" routerLink="/settings" fragment="update-checking" aria-label="Configure update checking" i18n-aria-label[ngbPopover]="updateCheckingNotEnabledPopContent" popoverClass="shadow" triggers="mouseenter"container="body"><i-bs width="1.2em" height="1.2em" name="info-circle"></i-bs>diff --git a/src-ui/src/app/components/app-frame/toasts-dropdown/toasts-dropdown.component.html b/src-ui/src/app/components/app-frame/toasts-dropdown/toasts-dropdown.component.htmlindex 5a235d972..c79cb9107 100644--- a/src-ui/src/app/components/app-frame/toasts-dropdown/toasts-dropdown.component.html+++ b/src-ui/src/app/components/app-frame/toasts-dropdown/toasts-dropdown.component.html@@ -3,7 +3,7 @@@if (toasts().length) {<span class="badge rounded-pill z-3 pe-none bg-secondary me-2 position-absolute top-0 left-0">{{ toasts().length }}</span>}- <button class="btn border-0" id="notificationsDropdown" ngbDropdownToggle>+ <button class="btn border-0" id="notificationsDropdown" ngbDropdownToggle aria-label="Notifications" i18n-aria-label><i-bs width="1.3em" height="1.3em" name="bell"></i-bs></button><div ngbDropdownMenu class="dropdown-menu-end shadow p-3" aria-labelledby="notificationsDropdown">diff --git a/src-ui/src/app/components/chat/chat/chat.component.html b/src-ui/src/app/components/chat/chat/chat.component.htmlindex 00c65459e..bcc3c2161 100644--- a/src-ui/src/app/components/chat/chat/chat.component.html+++ b/src-ui/src/app/components/chat/chat/chat.component.html@@ -1,6 +1,6 @@<li ngbDropdown class="nav-item me-n2" (openChange)="onOpenChange($event)">- <button class="btn border-0" id="chatDropdown" ngbDropdownToggle>+ <button class="btn border-0" id="chatDropdown" ngbDropdownToggle aria-label="Chat" i18n-aria-label><i-bs width="1.3em" height="1.3em" name="chatSquareDots"></i-bs></button><div ngbDropdownMenu class="dropdown-menu-end shadow p-3" aria-labelledby="chatDropdown">diff --git a/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.htmlindex 7dcaeab3f..bba27b1b6 100644--- a/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html+++ b/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html@@ -6,7 +6,7 @@<div class="modal-body"><div class="row"><div class="col-2 d-flex justify-content-end">- <button class="btn btn-secondary mt-auto" (click)="rotate(false)">+ <button class="btn btn-secondary mt-auto" (click)="rotate(false)" aria-label="Rotate counterclockwise" i18n-aria-label><i-bs name="arrow-counterclockwise"></i-bs></button></div>@@ -16,7 +16,7 @@}</div><div class="col-2 d-flex">- <button class="btn btn-secondary mt-auto" (click)="rotate()">+ <button class="btn btn-secondary mt-auto" (click)="rotate()" aria-label="Rotate clockwise" i18n-aria-label><i-bs name="arrow-clockwise"></i-bs></button></div>diff --git a/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.htmlindex 79b93ee31..b94fceabd 100644--- a/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html+++ b/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html@@ -1,5 +1,5 @@<div ngbDropdown #fieldDropdown="ngbDropdown" (openChange)="onOpenClose($event)" [popperOptions]="popperOptions">- <button type="button" class="btn btn-sm btn-outline-primary" id="customFieldsDropdown" [disabled]="disabled" ngbDropdownToggle>+ <button type="button" class="btn btn-sm btn-outline-primary" id="customFieldsDropdown" [disabled]="disabled" ngbDropdownToggle aria-label="Custom Fields" i18n-aria-label><i-bs name="ui-radios"></i-bs><div class="d-none d-lg-inline ms-1"><ng-container i18n>Custom Fields</ng-container></div></button><div ngbDropdownMenu aria-labelledby="customFieldsDropdown" class="shadow custom-fields-dropdown">diff --git a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.htmlindex c0c9b0c74..973d9f1a8 100644--- a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html+++ b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html@@ -1,6 +1,6 @@@if (useDropdown) {<div class="btn-group w-100" role="group" ngbDropdown #dropdown="ngbDropdown" (openChange)="onOpenChange($event)" [popperOptions]="popperOptions">- <button class="btn btn-sm btn-outline-primary" id="dropdown_toggle" ngbDropdownToggle [disabled]="disabled">+ <button class="btn btn-sm btn-outline-primary" id="dropdown_toggle" ngbDropdownToggle [disabled]="disabled" [aria-label]="title"><i-bs name="{{icon}}"></i-bs><div class="d-none d-sm-inline ms-1">{{title}}</div>@if (isActive) {<pngx-clearable-badge [selected]="isActive" (cleared)="reset()"></pngx-clearable-badge>@@ -38,7 +38,7 @@ngbDatepicker#d="ngbDatepicker"[footerTemplate]="datePickerFooterTemplate" />- <button class="btn btn-sm btn-outline-secondary rounded-end" (click)="d.toggle()" type="button">+ <button class="btn btn-sm btn-outline-secondary rounded-end" (click)="d.toggle()" type="button" aria-label="Open date picker" i18n-aria-label><i-bs name="calendar-event"></i-bs></button><ng-template #datePickerFooterTemplate>@@ -143,7 +143,7 @@<input class="w-25 form-control rounded-end" type="text" [(ngModel)]="atom.value" [disabled]="disabled">}}- <button class="btn btn-link btn-sm text-danger pe-0" type="button" (click)="removeElement(atom)" [disabled]="disabled">+ <button class="btn btn-link btn-sm text-danger pe-0" type="button" (click)="removeElement(atom)" [disabled]="disabled" aria-label="Remove query" i18n-aria-label><i-bs name="x-circle"></i-bs></button></div>@@ -185,7 +185,7 @@<i-bs name="braces"></i-bs></button>@if (expression.depth > 0) {- <button type="button" class="btn btn-sm btn-outline-secondary text-danger" (click)="removeElement(expression)" [disabled]="disabled">+ <button type="button" class="btn btn-sm btn-outline-secondary text-danger" (click)="removeElement(expression)" [disabled]="disabled" aria-label="Remove expression" i18n-aria-label><i-bs name="x-circle"></i-bs></button>}diff --git a/src-ui/src/app/components/common/dates-dropdown/dates-dropdown.component.html b/src-ui/src/app/components/common/dates-dropdown/dates-dropdown.component.htmlindex fb4df4ea1..6fb8c3f56 100644--- a/src-ui/src/app/components/common/dates-dropdown/dates-dropdown.component.html+++ b/src-ui/src/app/components/common/dates-dropdown/dates-dropdown.component.html@@ -1,5 +1,5 @@<div class="btn-group w-100" ngbDropdown role="group" [popperOptions]="popperOptions" [placement]="placement">- <button class="btn btn-sm" id="dropdown{{title}}" ngbDropdownToggle [ngClass]="createdDateTo || createdDateFrom ? 'btn-primary' : 'btn-outline-primary'" [disabled]="disabled">+ <button class="btn btn-sm" id="dropdown{{title}}" ngbDropdownToggle [ngClass]="createdDateTo || createdDateFrom ? 'btn-primary' : 'btn-outline-primary'" [disabled]="disabled" [aria-label]="title"><i-bs width="1em" height="1em" name="calendar-event-fill"></i-bs><div class="d-none d-sm-inline ms-1">{{title}}</div><pngx-clearable-badge [selected]="isActive" (cleared)="reset()"></pngx-clearable-badge><span class="visually-hidden">selected</span></button>@@ -9,7 +9,7 @@<div class="list-group-item d-flex p-2 select-item" role="menuitem"><div class="selected-icon">@if (createdRelativeDate) {- <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearCreatedRelativeDate()">+ <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearCreatedRelativeDate()" aria-label="Clear created relative date" i18n-aria-label><i-bs width="1em" height="1em" name="check" class="variant-unfocused text-dark"></i-bs><i-bs width="1em" height="1em" name="x" class="variant-focused text-primary"></i-bs></a>@@ -33,7 +33,7 @@<div class="list-group-item d-flex p-2" role="menuitem"><div class="selected-icon">@if (createdDateFrom) {- <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearCreatedFrom()">+ <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearCreatedFrom()" aria-label="Clear created from date" i18n-aria-label><i-bs width="1em" height="1em" name="check" class="variant-unfocused"></i-bs><i-bs width="1em" height="1em" name="x" class="variant-focused text-primary"></i-bs></a>@@ -43,7 +43,7 @@<span class="input-group-text w-25 small text-muted" i18n>From</span><input class="form-control small" [placeholder]="datePlaceHolder" (dateSelect)="onChangeDebounce()" (change)="onChangeDebounce()" (keypress)="onKeyPress($event)"maxlength="10" [(ngModel)]="createdDateFrom" ngbDatepicker #createdDateFromPicker="ngbDatepicker" [footerTemplate]="createdFromFooterTemplate">- <button class="btn btn-outline-secondary" (click)="createdDateFromPicker.toggle()" type="button">+ <button class="btn btn-outline-secondary" (click)="createdDateFromPicker.toggle()" type="button" aria-label="Open created from date picker" i18n-aria-label><i-bs width="1em" height="1em" name="calendar"></i-bs></button><ng-template #createdFromFooterTemplate>@@ -57,7 +57,7 @@<div class="list-group-item d-flex p-2" role="menuitem"><div class="selected-icon">@if (createdDateTo) {- <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearCreatedTo()">+ <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearCreatedTo()" aria-label="Clear created to date" i18n-aria-label><i-bs width="1em" height="1em" name="check" class="variant-unfocused"></i-bs><i-bs width="1em" height="1em" name="x" class="variant-focused text-primary"></i-bs></a>@@ -67,7 +67,7 @@<span class="input-group-text w-25 small text-muted" i18n>To</span><input class="form-control small" [placeholder]="datePlaceHolder" (dateSelect)="onChangeDebounce()" (change)="onChangeDebounce()" (keypress)="onKeyPress($event)"maxlength="10" [(ngModel)]="createdDateTo" ngbDatepicker #createdDateToPicker="ngbDatepicker" [footerTemplate]="createdToFooterTemplate">- <button class="btn btn-outline-secondary" (click)="createdDateToPicker.toggle()" type="button">+ <button class="btn btn-outline-secondary" (click)="createdDateToPicker.toggle()" type="button" aria-label="Open created to date picker" i18n-aria-label><i-bs width="1em" height="1em" name="calendar"></i-bs></button><ng-template #createdToFooterTemplate>@@ -85,7 +85,7 @@<div class="list-group-item d-flex p-2 select-item" role="menuitem"><div class="selected-icon">@if (addedRelativeDate) {- <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearAddedRelativeDate()">+ <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearAddedRelativeDate()" aria-label="Clear added relative date" i18n-aria-label><i-bs width="1em" height="1em" name="check" class="variant-unfocused text-dark"></i-bs><i-bs width="1em" height="1em" name="x" class="variant-focused text-primary"></i-bs></a>@@ -109,7 +109,7 @@<div class="list-group-item d-flex p-2" role="menuitem"><div class="selected-icon">@if (addedDateFrom) {- <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearAddedFrom()">+ <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearAddedFrom()" aria-label="Clear added from date" i18n-aria-label><i-bs width="1em" height="1em" name="check" class="variant-unfocused"></i-bs><i-bs width="1em" height="1em" name="x" class="variant-focused text-primary"></i-bs></a>@@ -119,7 +119,7 @@<span class="input-group-text w-25 small text-muted" i18n>From</span><input class="form-control small" [placeholder]="datePlaceHolder" (dateSelect)="onChangeDebounce()" (change)="onChangeDebounce()" (keypress)="onKeyPress($event)"maxlength="10" [(ngModel)]="addedDateFrom" ngbDatepicker #addedDateFromPicker="ngbDatepicker" [footerTemplate]="addedFromFooterTemplate">- <button class="btn btn-outline-secondary" (click)="addedDateFromPicker.toggle()" type="button">+ <button class="btn btn-outline-secondary" (click)="addedDateFromPicker.toggle()" type="button" aria-label="Open added from date picker" i18n-aria-label><i-bs width="1em" height="1em" name="calendar"></i-bs></button><ng-template #addedFromFooterTemplate>@@ -133,7 +133,7 @@<div class="list-group-item d-flex p-2" role="menuitem"><div class="selected-icon">@if (addedDateTo) {- <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearAddedTo()">+ <a class="text-light focus-variants" href="javascript:void(0)" (click)="clearAddedTo()" aria-label="Clear added to date" i18n-aria-label><i-bs width="1em" height="1em" name="check" class="variant-unfocused"></i-bs><i-bs width="1em" height="1em" name="x" class="variant-focused text-primary"></i-bs></a>@@ -143,7 +143,7 @@<span class="input-group-text w-25 small text-muted" i18n>To</span><input class="form-control small" [placeholder]="datePlaceHolder" (dateSelect)="onChangeDebounce()" (change)="onChangeDebounce()" (keypress)="onKeyPress($event)"maxlength="10" [(ngModel)]="addedDateTo" ngbDatepicker #addedDateToPicker="ngbDatepicker" [footerTemplate]="addedToFooterTemplate">- <button class="btn btn-outline-secondary" (click)="addedDateToPicker.toggle()" type="button">+ <button class="btn btn-outline-secondary" (click)="addedDateToPicker.toggle()" type="button" aria-label="Open added to date picker" i18n-aria-label><i-bs width="1em" height="1em" name="calendar"></i-bs></button><ng-template #addedToFooterTemplate>diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.htmlindex 490274f8a..97a4067e0 100644--- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html+++ b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html@@ -1,5 +1,5 @@<div class="btn-group w-100" ngbDropdown role="group" (openChange)="dropdownOpenChange($event)" #dropdown="ngbDropdown" (keydown)="listKeyDown($event)" [popperOptions]="popperOptions" [autoClose]="!creating()">- <button class="btn btn-sm" id="dropdown_{{name}}" ngbDropdownToggle [ngClass]="!editing && selectionModel.selectionSize() > 0 ? 'btn-primary' : 'btn-outline-primary'" [disabled]="disabled">+ <button class="btn btn-sm" id="dropdown_{{name}}" ngbDropdownToggle [ngClass]="!editing && selectionModel.selectionSize() > 0 ? 'btn-primary' : 'btn-outline-primary'" [disabled]="disabled" [aria-label]="title"><i-bs name="{{icon}}"></i-bs><div class="d-none d-sm-inline ms-1">{{title}}</div>@if (!editing && selectionModel.totalCount > 0) {<pngx-clearable-badge [number]="selectionModel.totalCount" [selected]="selectionModel.selectionSize() > 0" (cleared)="reset()"></pngx-clearable-badge>diff --git a/src-ui/src/app/components/common/input/color/color.component.html b/src-ui/src/app/components/common/input/color/color.component.htmlindex 6531c70ad..6e6fc264d 100644--- a/src-ui/src/app/components/common/input/color/color.component.html+++ b/src-ui/src/app/components/common/input/color/color.component.html@@ -4,7 +4,7 @@}<div class="input-group" [class.is-invalid]="error">- <button type="button" class="input-group-text" [style.background-color]="value" (click)="colorPicker.toggle()"> </button>+ <button type="button" class="input-group-text" [style.background-color]="value" (click)="colorPicker.toggle()" aria-label="Open color picker" i18n-aria-label> </button><ng-template #popContent><div style="min-width: 200px;" class="pb-3">@@ -14,7 +14,7 @@<input #inputField class="form-control" [class.is-invalid]="error" [id]="inputId" [(ngModel)]="value" (change)="onChange(value)" [autoClose]="'outside'" [ngbPopover]="popContent" #colorPicker="ngbPopover" placement="bottom" popoverClass="shadow">- <button class="btn btn-outline-secondary" type="button" (click)="randomize()">+ <button class="btn btn-outline-secondary" type="button" (click)="randomize()" aria-label="Choose a random color" i18n-aria-label><i-bs name="dice5"></i-bs></button>diff --git a/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html b/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.htmlindex 0c20a620a..fbf8101ee 100644--- a/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html+++ b/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html@@ -74,7 +74,7 @@class="flex-grow-1"></pngx-input-textarea>}}- <button type="button" class="btn btn-link text-danger" (click)="removeSelectedField.next(fieldId)">+ <button type="button" class="btn btn-link text-danger" (click)="removeSelectedField.next(fieldId)" aria-label="Remove custom field" i18n-aria-label><i-bs name="trash"></i-bs></button></div>diff --git a/src-ui/src/app/components/common/input/date/date.component.html b/src-ui/src/app/components/common/input/date/date.component.htmlindex 7b3a76dd9..80f5f8495 100644--- a/src-ui/src/app/components/common/input/date/date.component.html+++ b/src-ui/src/app/components/common/input/date/date.component.html@@ -13,7 +13,7 @@<input #inputField class="form-control" [class.is-invalid]="error" [placeholder]="placeholder" [id]="inputId" maxlength="10"(dateSelect)="onChange(value)" (change)="onChange(value)" (keypress)="onKeyPress($event)" (paste)="onPaste($event)"name="dp" [(ngModel)]="value" ngbDatepicker #datePicker="ngbDatepicker" #datePickerContent="ngModel" [disabled]="disabled" [footerTemplate]="datePickerFooterTemplate">- <button class="btn btn-outline-secondary calendar" (click)="datePicker.toggle()" type="button" [disabled]="disabled">+ <button class="btn btn-outline-secondary calendar" (click)="datePicker.toggle()" type="button" [disabled]="disabled" aria-label="Open date picker" i18n-aria-label><i-bs width="1.2em" height="1.2em" name="calendar"></i-bs></button><ng-template #datePickerFooterTemplate>diff --git a/src-ui/src/app/components/common/input/entries/entries.component.html b/src-ui/src/app/components/common/input/entries/entries.component.htmlindex 7204bfcce..01bd8d511 100644--- a/src-ui/src/app/components/common/input/entries/entries.component.html+++ b/src-ui/src/app/components/common/input/entries/entries.component.html@@ -13,7 +13,7 @@<div class="input-group mb-3"><input type="text" class="form-control" [(ngModel)]="entry[0]" (change)="inputChange()" [disabled]="disabled" autocomplete="off"><input type="text" class="form-control" [(ngModel)]="entry[1]" (change)="inputChange()" [disabled]="disabled" autocomplete="off">- <button type="button" class="btn btn-outline-secondary" (click)="removeEntry(i)">+ <button type="button" class="btn btn-outline-secondary" (click)="removeEntry(i)" aria-label="Remove entry" i18n-aria-label><i-bs class="text-danger" name="trash"></i-bs></button></div>diff --git a/src-ui/src/app/components/common/input/select/select.component.html b/src-ui/src/app/components/common/input/select/select.component.htmlindex ee0e8695a..549cd94e1 100644--- a/src-ui/src/app/components/common/input/select/select.component.html+++ b/src-ui/src/app/components/common/input/select/select.component.html@@ -50,7 +50,7 @@</ng-template></ng-select>@if (allowCreateNew && !hideAddButton) {- <button class="btn btn-outline-secondary" type="button" (click)="addItem()" [disabled]="disabled">+ <button class="btn btn-outline-secondary" type="button" (click)="addItem()" [disabled]="disabled" aria-label="Create new item" i18n-aria-label><i-bs width="1.2em" height="1.2em" name="plus"></i-bs></button>}diff --git a/src-ui/src/app/components/common/input/tags/tags.component.html b/src-ui/src/app/components/common/input/tags/tags.component.htmlindex e1bb093ae..d6a82413a 100644--- a/src-ui/src/app/components/common/input/tags/tags.component.html+++ b/src-ui/src/app/components/common/input/tags/tags.component.html@@ -48,7 +48,7 @@</ng-template></ng-select>@if (allowCreate && !hideAddButton) {- <button class="btn btn-outline-secondary" type="button" (click)="createTag(null, true)" [disabled]="disabled">+ <button class="btn btn-outline-secondary" type="button" (click)="createTag(null, true)" [disabled]="disabled" aria-label="Create new tag" i18n-aria-label><i-bs width="1.2em" height="1.2em" name="plus"></i-bs></button>}diff --git a/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html b/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.htmlindex 079ac9da9..0c54e8991 100644--- a/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html+++ b/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html@@ -1,5 +1,5 @@<div class="btn-group w-100" ngbDropdown role="group">- <button class="btn btn-sm" id="dropdown{{title}}" ngbDropdownToggle [ngClass]="isActive ? 'btn-primary' : 'btn-outline-primary'" [disabled]="disabled">+ <button class="btn btn-sm" id="dropdown{{title}}" ngbDropdownToggle [ngClass]="isActive ? 'btn-primary' : 'btn-outline-primary'" [disabled]="disabled" [aria-label]="title"><i-bs name="person-fill-lock"></i-bs><div class="d-none d-sm-inline ms-1">{{title}}</div><pngx-clearable-badge [selected]="isActive" (cleared)="reset()"></pngx-clearable-badge><span class="visually-hidden">selected</span></button>diff --git a/src-ui/src/app/components/common/suggestions-dropdown/suggestions-dropdown.component.html b/src-ui/src/app/components/common/suggestions-dropdown/suggestions-dropdown.component.htmlindex 114dc13f7..36f40f60c 100644--- a/src-ui/src/app/components/common/suggestions-dropdown/suggestions-dropdown.component.html+++ b/src-ui/src/app/components/common/suggestions-dropdown/suggestions-dropdown.component.html@@ -1,5 +1,5 @@<div class="btn-group">- <button type="button" class="btn btn-sm btn-outline-primary" (click)="clickSuggest()" [disabled]="disabled() || loading() || (suggestions() && !aiEnabled())">+ <button type="button" class="btn btn-sm btn-outline-primary" (click)="clickSuggest()" [disabled]="disabled() || loading() || (suggestions() && !aiEnabled())" [aria-label]="noSuggestions ? 'No suggestions' : 'Suggest'" i18n-aria-label>@if (loading()) {<div class="spinner-border spinner-border-sm" role="status"></div>} @else if (noSuggestions) {diff --git a/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html b/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.htmlindex badd44b5d..3724ee788 100644--- a/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html+++ b/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html@@ -23,7 +23,7 @@<dd>{{status().pngx_version}}@if (versionMismatch()) {- <button class="btn btn-sm d-inline align-items-center btn-dark text-uppercase small" [ngbPopover]="versionPopover" triggers="click mouseenter:mouseleave">+ <button class="btn btn-sm d-inline align-items-center btn-dark text-uppercase small" [ngbPopover]="versionPopover" triggers="click mouseenter:mouseleave" aria-label="View version mismatch details" i18n-aria-label><i-bs name="exclamation-triangle-fill" class="text-danger lh-1"></i-bs></button>}diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.htmlindex 664fa950c..d3929674e 100644--- a/src-ui/src/app/components/document-detail/document-detail.component.html+++ b/src-ui/src/app/components/document-detail/document-detail.component.html@@ -20,7 +20,7 @@</div>}- <button type="button" class="btn btn-sm btn-outline-danger me-md-4" (click)="delete()" [disabled]="!userIsOwner" *pngxIfPermissions="{ action: PermissionAction.Delete, type: PermissionType.Document }">+ <button type="button" class="btn btn-sm btn-outline-danger me-md-4" (click)="delete()" [disabled]="!userIsOwner" *pngxIfPermissions="{ action: PermissionAction.Delete, type: PermissionType.Document }" aria-label="Delete" i18n-aria-label><i-bs width="1.2em" height="1.2em" name="trash"></i-bs><span class="d-none d-lg-inline ps-1" i18n>Delete</span></button>@@ -35,7 +35,7 @@/><div class="btn-group">- <button (click)="download()" class="btn btn-sm btn-outline-primary" [disabled]="downloading()">+ <button (click)="download()" class="btn btn-sm btn-outline-primary" [disabled]="downloading()" aria-label="Download" i18n-aria-label>@if (downloading()) {<div class="spinner-border spinner-border-sm" role="status"></div>} @else {@@ -45,7 +45,7 @@</button><div class="btn-group" ngbDropdown role="group">- <button class="btn btn-sm btn-outline-primary dropdown-toggle" [disabled]="downloading()" ngbDropdownToggle></button>+ <button class="btn btn-sm btn-outline-primary dropdown-toggle" [disabled]="downloading()" ngbDropdownToggle aria-label="Download options" i18n-aria-label></button><div class="dropdown-menu shadow" ngbDropdownMenu>@if (metadata()?.has_archive_version) {<button ngbDropdownItem (click)="download(true)" [disabled]="downloading()" i18n>Download original</button>@@ -62,7 +62,7 @@</div><div class="ms-auto" ngbDropdown>- <button class="btn btn-sm btn-outline-primary" id="actionsDropdown" ngbDropdownToggle>+ <button class="btn btn-sm btn-outline-primary" id="actionsDropdown" ngbDropdownToggle aria-label="Actions" i18n-aria-label><i-bs name="three-dots"></i-bs><div class="d-none d-sm-inline ms-1"><ng-container i18n>Actions</ng-container></div></button><div ngbDropdownMenu aria-labelledby="actionsDropdown" class="shadow">@@ -91,7 +91,7 @@</div><div class="ms-auto" ngbDropdown>- <button class="btn btn-sm btn-outline-primary" id="sendDropdown" ngbDropdownToggle>+ <button class="btn btn-sm btn-outline-primary" id="sendDropdown" ngbDropdownToggle aria-label="Send" i18n-aria-label><i-bs name="send"></i-bs><div class="d-none d-sm-inline ms-1"><ng-container i18n>Send</ng-container></div></button><div ngbDropdownMenu aria-labelledby="actionsDropdown" class="shadow">diff --git a/src-ui/src/app/components/document-detail/document-version-dropdown/document-version-dropdown.component.html b/src-ui/src/app/components/document-detail/document-version-dropdown/document-version-dropdown.component.htmlindex 722fa0b41..c01d20f3b 100644--- a/src-ui/src/app/components/document-detail/document-version-dropdown/document-version-dropdown.component.html+++ b/src-ui/src/app/components/document-detail/document-version-dropdown/document-version-dropdown.component.html@@ -1,5 +1,5 @@<div class="btn-group" ngbDropdown autoClose="outside">- <button class="btn btn-sm btn-outline-secondary dropdown-toggle" ngbDropdownToggle>+ <button class="btn btn-sm btn-outline-secondary dropdown-toggle" ngbDropdownToggle aria-label="Versions" i18n-aria-label><i-bs name="file-earmark-diff"></i-bs><span class="d-none d-lg-inline ps-1" i18n>Versions</span>@if (versions.length > 1) {diff --git a/src-ui/src/app/components/document-detail/metadata-collapse/metadata-collapse.component.html b/src-ui/src/app/components/document-detail/metadata-collapse/metadata-collapse.component.htmlindex bc76e70fd..f3013b438 100644--- a/src-ui/src/app/components/document-detail/metadata-collapse/metadata-collapse.component.html+++ b/src-ui/src/app/components/document-detail/metadata-collapse/metadata-collapse.component.html@@ -1,6 +1,6 @@<h6><button type="button" class="btn btn-outline-secondary btn-sm me-2"- (click)="expand = !expand">+ (click)="expand = !expand" aria-label="Toggle document metadata" i18n-aria-label>@if (!expand) {<i-bs width="1.2em" height="1.2em" name="caret-down"></i-bs>}diff --git a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.htmlindex 39f93d0b2..94c4dba9a 100644--- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html+++ b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html@@ -74,7 +74,7 @@</pngx-filterable-dropdown>}<div class="btn-group">- <button type="button" class="btn btn-sm btn-outline-primary me-2" (click)="setPermissions()" [disabled]="!userOwnsAll || !userCanEditAll">+ <button type="button" class="btn btn-sm btn-outline-primary me-2" (click)="setPermissions()" [disabled]="!userOwnsAll || !userCanEditAll" aria-label="Permissions" i18n-aria-label><i-bs name="person-fill-lock"></i-bs><div class="d-none d-sm-inline ms-1"><ng-container i18n>Permissions</ng-container></div></button></div>@@ -82,7 +82,7 @@<div class="d-flex align-items-center gap-2 ms-auto"><div class="btn-toolbar"><div ngbDropdown>- <button class="btn btn-sm btn-outline-primary" id="dropdownSelect" [disabled]="!userCanEdit && !userCanAdd" ngbDropdownToggle>+ <button class="btn btn-sm btn-outline-primary" id="dropdownSelect" [disabled]="!userCanEdit && !userCanAdd" ngbDropdownToggle aria-label="Actions" i18n-aria-label><i-bs name="three-dots"></i-bs><div class="d-none d-sm-inline ms-1"><ng-container i18n>Actions</ng-container></div></button><div ngbDropdownMenu aria-labelledby="dropdownSelect" class="shadow">@@ -107,6 +107,8 @@id="dropdownSend"ngbDropdownToggle[disabled]="disabled || !canSendSelection"+ aria-label="Send"+ i18n-aria-label><i-bs name="send"></i-bs><div class="d-none d-sm-inline ms-1"><ng-container i18n>Send</ng-container></div>@@ -127,7 +129,7 @@</div></div><div class="btn-group btn-group-sm">- <button class="btn btn-sm btn-outline-primary" [disabled]="awaitingDownload()" (click)="downloadSelected()">+ <button class="btn btn-sm btn-outline-primary" [disabled]="awaitingDownload()" (click)="downloadSelected()" aria-label="Download" i18n-aria-label>@if (!awaitingDownload()) {<i-bs name="arrow-down"></i-bs>}@@ -139,7 +141,7 @@<div class="d-none d-sm-inline ms-1"><ng-container i18n>Download</ng-container></div></button><div ngbDropdown class="me-2 d-flex btn-group" role="group">- <button type="button" class="btn btn-sm btn-outline-primary dropdown-toggle-split rounded-end" ngbDropdownToggle></button>+ <button type="button" class="btn btn-sm btn-outline-primary dropdown-toggle-split rounded-end" ngbDropdownToggle aria-label="Download options" i18n-aria-label></button><div ngbDropdownMenu aria-labelledby="dropdownSelect" class="shadow"><form [formGroup]="downloadForm" class="px-3 py-1"><p class="mb-1" i18n>Include:</p>diff --git a/src-ui/src/app/components/document-list/bulk-editor/custom-fields-bulk-edit-dialog/custom-fields-bulk-edit-dialog.component.html b/src-ui/src/app/components/document-list/bulk-editor/custom-fields-bulk-edit-dialog/custom-fields-bulk-edit-dialog.component.htmlindex da4f47999..239f1a041 100644--- a/src-ui/src/app/components/document-list/bulk-editor/custom-fields-bulk-edit-dialog/custom-fields-bulk-edit-dialog.component.html+++ b/src-ui/src/app/components/document-list/bulk-editor/custom-fields-bulk-edit-dialog/custom-fields-bulk-edit-dialog.component.html@@ -61,7 +61,7 @@</pngx-input-textarea>}}- <button type="button" class="btn btn-outline-danger mb-3" (click)="removeField(field.id)">+ <button type="button" class="btn btn-outline-danger mb-3" (click)="removeField(field.id)" aria-label="Remove custom field" i18n-aria-label><i-bs name="x"></i-bs></button></div>diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.htmlindex 4e55e4936..d1b99708e 100644--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html@@ -154,9 +154,9 @@<i-bs name="download"></i-bs></a>} @else {- <button class="btn btn-sm btn-outline-secondary placeholder bg-secondary"></button>- <button class="btn btn-sm btn-outline-secondary placeholder bg-secondary"></button>- <button class="btn btn-sm btn-outline-secondary placeholder bg-secondary"></button>+ <span class="btn btn-sm btn-outline-secondary placeholder bg-secondary" aria-hidden="true"></span>+ <span class="btn btn-sm btn-outline-secondary placeholder bg-secondary" aria-hidden="true"></span>+ <span class="btn btn-sm btn-outline-secondary placeholder bg-secondary" aria-hidden="true"></span>}</div></div>diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.htmlindex 9c2a6d5bc..36cdcc516 100644--- a/src-ui/src/app/components/document-list/document-list.component.html+++ b/src-ui/src/app/components/document-list/document-list.component.html@@ -1,6 +1,6 @@<pngx-page-header [title]="getTitle()"><div ngbDropdown class="btn-group flex-fill d-sm-none">- <button class="btn btn-sm btn-outline-primary" id="dropdownSelectMobile" ngbDropdownToggle>+ <button class="btn btn-sm btn-outline-primary" id="dropdownSelectMobile" ngbDropdownToggle aria-label="Select" i18n-aria-label><i-bs name="text-indent-left"></i-bs><div class="d-none d-sm-inline ms-1"><ng-container i18n>Select</ng-container></div>@if (list.hasSelection) {<pngx-clearable-badge [selected]="list.hasSelection" [number]="list.selectedCount" (cleared)="list.selectNone()"></pngx-clearable-badge><span class="visually-hidden">selected</span>@@ -31,7 +31,7 @@</div></div><div ngbDropdown class="btn-group flex-fill">- <button class="btn btn-sm btn-outline-primary" id="dropdownDisplayFields" ngbDropdownToggle>+ <button class="btn btn-sm btn-outline-primary" id="dropdownDisplayFields" ngbDropdownToggle aria-label="Show" i18n-aria-label><i-bs name="card-heading"></i-bs><div class="d-none d-sm-inline ms-1"><ng-container i18n>Show</ng-container></div></button><div ngbDropdownMenu aria-labelledby="dropdownDisplayFields" class="shadow">@@ -61,7 +61,7 @@</div><div ngbDropdown class="btn-group flex-fill">- <button class="btn btn-outline-primary btn-sm" id="dropdownBasic1" ngbDropdownToggle>+ <button class="btn btn-outline-primary btn-sm" id="dropdownBasic1" ngbDropdownToggle aria-label="Sort" i18n-aria-label><i-bs name="arrow-down-up"></i-bs><div class="d-none d-sm-inline ms-1"><ng-container i18n>Sort</ng-container></div></button><div ngbDropdownMenu aria-labelledby="dropdownBasic1" class="shadow dropdown-menu-right">@@ -86,7 +86,7 @@</div><div class="btn-group flex-fill" *pngxIfPermissions="{ action: PermissionAction.View, type: PermissionType.SavedView }" ngbDropdown #viewsDropdown="ngbDropdown" role="group">- <button class="btn btn-sm btn-outline-primary dropdown-toggle flex-fill" tourAnchor="tour.documents-views" ngbDropdownToggle>+ <button class="btn btn-sm btn-outline-primary dropdown-toggle flex-fill" tourAnchor="tour.documents-views" ngbDropdownToggle aria-label="Views" i18n-aria-label><i-bs name="window-stack"></i-bs><div class="d-none d-sm-inline ms-1"><ng-container i18n>Views</ng-container></div>@if (savedViewIsModified) {<div class="position-absolute top-0 start-100 p-2 translate-middle badge bg-secondary border border-light rounded-circle">diff --git a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.htmlindex fb6365b54..492b2a4e4 100644--- a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html+++ b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html@@ -18,7 +18,7 @@</select>}@if (_textFilter) {- <button class="btn btn-link btn-sm px-2 position-absolute top-0 end-0 z-10" (click)="resetTextField()">+ <button class="btn btn-link btn-sm px-2 position-absolute top-0 end-0 z-10" (click)="resetTextField()" aria-label="Clear search" i18n-aria-label><i-bs width="1em" height="1em" name="x"></i-bs></button>}diff --git a/src-ui/src/app/components/manage/document-attributes/custom-fields/custom-fields.component.html b/src-ui/src/app/components/manage/document-attributes/custom-fields/custom-fields.component.htmlindex ff2323d51..1952475f7 100644--- a/src-ui/src/app/components/manage/document-attributes/custom-fields/custom-fields.component.html+++ b/src-ui/src/app/components/manage/document-attributes/custom-fields/custom-fields.component.html@@ -24,7 +24,7 @@<div class="btn-toolbar gap-2"><div class="btn-group d-block d-sm-none"><div ngbDropdown container="body" class="d-inline-block">- <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle>+ <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle aria-label="Actions" i18n-aria-label><i-bs name="three-dots-vertical"></i-bs></button><div ngbDropdownMenu aria-labelledby="actionsMenuMobile">diff --git a/src-ui/src/app/components/manage/document-attributes/document-attributes.component.html b/src-ui/src/app/components/manage/document-attributes/document-attributes.component.htmlindex aa685348b..50f3baacb 100644--- a/src-ui/src/app/components/manage/document-attributes/document-attributes.component.html+++ b/src-ui/src/app/components/manage/document-attributes/document-attributes.component.html@@ -7,7 +7,7 @@>@if (activeManagementList) {<div ngbDropdown class="btn-group flex-fill d-sm-none">- <button class="btn btn-sm btn-outline-primary" id="dropdownSelectMobile" ngbDropdownToggle>+ <button class="btn btn-sm btn-outline-primary" id="dropdownSelectMobile" ngbDropdownToggle aria-label="Select" i18n-aria-label><i-bs name="text-indent-left"></i-bs><div class="d-none d-sm-inline ms-1"><ng-container i18n>Select</ng-container></div>@if (activeManagementList.hasSelection) {<pngx-clearable-badge [selected]="activeManagementList.hasSelection" [number]="activeManagementList.selectedCount" (cleared)="activeManagementList.selectNone()"></pngx-clearable-badge><span class="visually-hidden">selected</span>diff --git a/src-ui/src/app/components/manage/document-attributes/management-list/management-list.component.html b/src-ui/src/app/components/manage/document-attributes/management-list/management-list.component.htmlindex f7c2d8521..b8b609fde 100644--- a/src-ui/src/app/components/manage/document-attributes/management-list/management-list.component.html+++ b/src-ui/src/app/components/manage/document-attributes/management-list/management-list.component.html@@ -113,7 +113,7 @@<div class="btn-toolbar gap-2"><div class="btn-group d-block d-sm-none"><div ngbDropdown container="body" class="d-inline-block">- <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle>+ <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle aria-label="Actions" i18n-aria-label><i-bs name="three-dots-vertical"></i-bs></button><div ngbDropdownMenu aria-labelledby="actionsMenuMobile">diff --git a/src-ui/src/app/components/manage/mail/mail.component.html b/src-ui/src/app/components/manage/mail/mail.component.htmlindex c0eb0a346..80a73c0dd 100644--- a/src-ui/src/app/components/manage/mail/mail.component.html+++ b/src-ui/src/app/components/manage/mail/mail.component.html@@ -58,7 +58,7 @@<div class="col"><div class="btn-group d-block d-sm-none"><div ngbDropdown container="body" class="d-inline-block">- <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle>+ <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle aria-label="Actions" i18n-aria-label><i-bs name="three-dots-vertical"></i-bs></button><div ngbDropdownMenu aria-labelledby="actionsMenuMobile">@@ -146,7 +146,7 @@<div class="col-3"><div class="btn-group d-block d-sm-none"><div ngbDropdown container="body" class="d-inline-block">- <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle>+ <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle aria-label="Actions" i18n-aria-label><i-bs name="three-dots-vertical"></i-bs></button><div ngbDropdownMenu aria-labelledby="actionsMenuMobile">diff --git a/src-ui/src/app/components/manage/workflows/workflows.component.html b/src-ui/src/app/components/manage/workflows/workflows.component.htmlindex 4849dbc6f..be9f251fe 100644--- a/src-ui/src/app/components/manage/workflows/workflows.component.html+++ b/src-ui/src/app/components/manage/workflows/workflows.component.html@@ -47,7 +47,7 @@<div class="btn-group d-block d-sm-none"><div ngbDropdown container="body" class="d-inline-block">- <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle>+ <button type="button" class="btn btn-link" id="actionsMenuMobile" (click)="$event.stopPropagation()" ngbDropdownToggle aria-label="Actions" i18n-aria-label><i-bs name="three-dots-vertical"></i-bs></button><div ngbDropdownMenu aria-labelledby="actionsMenuMobile">