From 74fe382f9419b7057df81b68b119669cda57190d Mon Sep 17 00:00:00 2001 From: Peter Nowee Date: Fri, 14 Jul 2023 18:15:26 +0200 Subject: [PATCH] a11y: Add labels to input fields Fixes errors about this by lint:hbs ember-template-lint. https://github.com/ember-template-lint/ember-template-lint/blob/v5.11.0/docs/rule/require-input-label.md --- app/templates/individual-products.hbs | 22 +++++++++++++----- app/templates/people.hbs | 11 ++++++--- app/templates/transactions.hbs | 33 +++++++++++++++++++-------- 3 files changed, 48 insertions(+), 18 deletions(-) diff --git a/app/templates/individual-products.hbs b/app/templates/individual-products.hbs index b6b5136..cf02c6a 100644 --- a/app/templates/individual-products.hbs +++ b/app/templates/individual-products.hbs @@ -14,15 +14,25 @@
-
Serial number
+
- +
-
Name
+
- +
diff --git a/app/templates/people.hbs b/app/templates/people.hbs index a8e2fc2..ad8bbf7 100644 --- a/app/templates/people.hbs +++ b/app/templates/people.hbs @@ -12,10 +12,15 @@
-
Person name
+
- +
diff --git a/app/templates/transactions.hbs b/app/templates/transactions.hbs index 0115f6a..5f290b0 100644 --- a/app/templates/transactions.hbs +++ b/app/templates/transactions.hbs @@ -26,20 +26,35 @@
-
Date and time
+
- +
-
New owner ID
+
- +
-
Received product ID
+
- +