LP2009092 Line item list checkbox labels
authorStephanie Leary <stephanie.leary@equinoxoli.org>
Tue, 9 May 2023 18:46:15 +0000 (18:46 +0000)
committerJane Sandberg <js7389@princeton.edu>
Sat, 13 May 2023 15:32:21 +0000 (08:32 -0700)
Adds <label>s for the line item ID checkboxes in the PO list.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html

index 8cedee1..ca92e3d 100644 (file)
       <div class="ms-2 flex-1"> <!-- lineitem summary info -->
         <div class="row">
           <div class="col-lg-12">
-            <input type="checkbox" [(ngModel)]="selected[li.id()]"/>
+            <input type="checkbox" [(ngModel)]="selected[li.id()]"  attr.aria-labelledby="{{li.id()}}"/>
             <a class="ms-2" queryParamsHandling="merge" [id]="li.id()"
               routerLink="./lineitem/{{li.id()}}/detail">
               {{displayAttr(li, 'title')}}