Skip to content

Commit 54d99a8

Browse files
110615: Added missing vocabulary search input label
1 parent 655813a commit 54d99a8

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/app/shared/form/vocabulary-treeview/vocabulary-treeview.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
<div class="treeview-header row">
33
<div class="col-12">
44
<div class="input-group">
5-
<input type="text" class="form-control" [(ngModel)]="searchText" (keyup.enter)="search()">
5+
<input type="text" class="form-control" [(ngModel)]="searchText"
6+
[attr.aria-label]="'vocabulary-treeview.search.form.search-placeholder' | translate"
7+
(keyup.enter)="search()">
68
<div class="input-group-append" id="button-addon4">
79
<button class="btn btn-outline-primary" type="button" (click)="search()" [disabled]="!isSearchEnabled()">
810
{{'vocabulary-treeview.search.form.search' | translate}}

src/assets/i18n/en.json5

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4736,6 +4736,8 @@
47364736

47374737
"vocabulary-treeview.search.form.search": "Search",
47384738

4739+
"vocabulary-treeview.search.form.search-placeholder": "Filter results by typing the first few letters",
4740+
47394741
"vocabulary-treeview.search.no-result": "There were no items to show",
47404742

47414743
"vocabulary-treeview.tree.description.nsi": "The Norwegian Science Index",

0 commit comments

Comments
 (0)