lp1950507 Providers Admin Screenreader form fix
authorKyle Huckins <khuckins@catalyte.io>
Wed, 15 Dec 2021 17:43:42 +0000 (17:43 +0000)
committerJane Sandberg <js7389@princeton.edu>
Thu, 19 May 2022 21:53:07 +0000 (15:53 -0600)
- Move Search and Reset Form buttons to bottom of form when expanded.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider-search-form.component.html

index 1dbe407..ee7f7c6 100644 (file)
@@ -14,8 +14,8 @@
       </eg-org-family-select>
     </div>
     <div class="col-lg-2 text-right">
-      <button class="btn btn-primary mr-1" (click)="submitSearch()" type="submit" i18n>Search</button>
-      <button class="btn btn-secondary" (click)="clearSearch()" type="button" i18n>Reset Form</button>
+      <button class="btn btn-primary mr-1" (click)="submitSearch()" type="submit" [hidden]="!collapsed" i18n>Search</button>
+      <button class="btn btn-secondary" (click)="clearSearch()" type="button" [hidden]="!collapsed" i18n>Reset Form</button>
       <button class="btn" [hidden]="collapsed" (click)="toggleCollapse()" type="submit" i18n><span class="material-icons">expand_less</span></button>
       <button class="btn" [hidden]="!collapsed" (click)="toggleCollapse()" type="submit" i18n><span class="material-icons">expand_more</span></button>
     </div>
       </select>
     </div>
   </div>
+  <div class="row mb-1" [hidden]="collapsed">
+    <div class="col-lg-2 offset-lg-10 text-right">
+      <button class="btn btn-primary mr-1" (click)="submitSearch()" type="submit" i18n>Search</button>
+      <button class="btn btn-secondary" (click)="clearSearch()" type="button" i18n>Reset Form</button>
+    </div>
+  </div>
 </form>
 </div>