From 5eb9013776160b9cc24cc8653f63859bca418c82 Mon Sep 17 00:00:00 2001
From: Bill Erickson <berickxx@gmail.com>
Date: Wed, 15 Jan 2020 10:10:03 -0500
Subject: [PATCH] LP1852782 Fix Firefox contenteditable tabbing

Use tabindex="0" instead of tabindex="" to indicate focusable content.

Signed-off-by: Bill Erickson <berickxx@gmail.com>

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
---
 .../eg2/src/app/staff/share/marc-edit/editable-content.component.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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)"
-- 
2.11.0