From: Bill Erickson Date: Wed, 15 Jan 2020 15:10:03 +0000 (-0500) Subject: LP1852782 Fix Firefox contenteditable tabbing X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5eb9013776160b9cc24cc8653f63859bca418c82;p=working%2FEvergreen.git LP1852782 Fix Firefox contenteditable tabbing Use tabindex="0" instead of tabindex="" to indicate focusable content. Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.html b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.html index cba8925f03..0fb728b2c4 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.html @@ -16,7 +16,7 @@ Track their labels here. spellcheck="false" class="d-inline-block text-dark text-break {{moreClasses}}" [ngClass]="{'auth-invalid': isAuthInvalid()}" - [attr.tabindex]="fieldText ? -1 : ''" + [attr.tabindex]="fieldText ? -1 : '0'" [attr.aria-label]="ariaLabel" [egContextMenu]="contextMenuEntries()" (menuItemSelected)="contextMenuChange($event.value)" @@ -36,7 +36,7 @@ Track their labels here. [size]="inputSize()" [maxlength]="maxLength || ''" [disabled]="fieldText" - [attr.tabindex]="fieldText ? -1 : ''" + [attr.tabindex]="fieldText ? -1 : '0'" [attr.aria-label]="ariaLabel" [egContextMenu]="contextMenuEntries()" (menuItemSelected)="contextMenuChange($event.value)"