fix: react-doctor modal/dialog/dropzone a11y — 18 files to role+tabIndex+onKeyDown or dialog

This commit is contained in:
Nora
2026-06-26 03:20:10 -06:00
parent e3c1295e62
commit d0bfec9d36
90 changed files with 747 additions and 408 deletions
+2 -1
View File
@@ -213,6 +213,7 @@ await getSession(); const adminUser = await getAdminUser();
const allowedServices = perishable
? (["FEDEX_OVERNIGHT", "FEDEX_2_DAY_AIR"] as FedExServiceType[])
: ALL_SERVICES;
const allowedServicesSet = new Set<FedExServiceType>(allowedServices);
// Build FedEx rate request. The SaaS rebuild doesn't store the
// recipient's city/state/zip on the order — FedEx rate quotes
@@ -283,7 +284,7 @@ await getSession(); const adminUser = await getAdminUser();
for (const detail of output) {
const serviceType = detail.serviceType as FedExServiceType;
if (!allowedServices.includes(serviceType)) continue;
if (!allowedServicesSet.has(serviceType)) continue;
const dayOption = detail.derivedDetails?.deliveryDayOfWeek ?? "";
const deliveryDate = detail.derivedDetails?.deliveryDate ?? "";