From db634b88d1c1e9eb65d7385cff734cc8ebef91da Mon Sep 17 00:00:00 2001 From: Stephanie Leary Date: Fri, 14 Apr 2023 22:19:12 +0000 Subject: [PATCH] LP2016343 aria-describedby for item table links Adds aria-describedby attributes to repetitive links in the staff catalog items table. This appends the barcode to the text of the link for screen readers, to help disambiguate links for different items. Signed-off-by: Stephanie Leary --- .../app/staff/catalog/record/copies.component.html | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html index 166d71d274..4fd5a58e07 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html @@ -1,20 +1,22 @@ - {{copy.call_number_prefix_label}} - {{copy.call_number_label}} - {{copy.call_number_suffix_label}} +
+ {{copy.call_number_prefix_label}} + {{copy.call_number_label}} + {{copy.call_number_suffix_label}} +
Edit + target="_blank" i18n attr.aria-describedby="copy-barcode-{{copy.id}}">Edit
-
{{copy.barcode}}
+
{{copy.barcode}}
View - | Edit
@@ -24,6 +26,7 @@
Call Number Hold @@ -42,7 +46,9 @@ -- 2.11.0