diff --git a/user-interface/.pa11yci b/user-interface/.pa11yci index eaf93dc4c..de154d4da 100644 --- a/user-interface/.pa11yci +++ b/user-interface/.pa11yci @@ -67,9 +67,9 @@ "url": "http://localhost:3000/data-verification/", "actions": [ "wait for element [data-testid='data-verification-screen'] to be visible", - "click element div.filter.approved", - "click element div.filter.rejected", - "click element div.filter.consolidation", + "click element button.filter.approved", + "click element button.filter.rejected", + "click element button.filter.consolidation", "click element [data-testid='accordion-button-order-list-guid-0']", "wait for element [data-testid='suggested-cases-radio-0'] to be visible", "click element [data-testid='suggested-cases-radio-0']", @@ -88,8 +88,8 @@ "click element [data-testid='accordion-button-order-list-guid-2']", "wait for element [data-testid='accordion-content-guid-1'] to be hidden", "wait for element [data-testid='accordion-content-guid-2'] to be visible", - "click element div.filter.consolidation", - "click element div.filter.transfer", + "click element button.filter.consolidation", + "click element button.filter.transfer", "click element [data-testid='accordion-button-order-list-guid-3']", "wait for element [data-testid='accordion-content-guid-2'] to be hidden", "wait for element [data-testid='accordion-content-guid-3'] to be visible", diff --git a/user-interface/src/data-verification/DataVerificationScreen.scss b/user-interface/src/data-verification/DataVerificationScreen.scss index 65547f011..765d9d617 100644 --- a/user-interface/src/data-verification/DataVerificationScreen.scss +++ b/user-interface/src/data-verification/DataVerificationScreen.scss @@ -43,13 +43,14 @@ .order-status { span, - div.filter { + .filter { display: inline-block; color: white; padding: 0rem 0.5rem 0.125rem 0.5rem; border-radius: 0.125rem; + text-decoration: none; } - div.filter { + .filter { display: inline-flex; align-items: center; flex-flow: row; diff --git a/user-interface/src/data-verification/DataVerificationScreen.tsx b/user-interface/src/data-verification/DataVerificationScreen.tsx index 1d9b730f0..0f7633251 100644 --- a/user-interface/src/data-verification/DataVerificationScreen.tsx +++ b/user-interface/src/data-verification/DataVerificationScreen.tsx @@ -316,14 +316,14 @@ interface FilterProps { function Filter(props: FilterProps) { const { label, filterType, filters, callback } = props; return ( -
callback(filterType)} data-testid={`order-status-filter-${filterType}`} > {label} -
+ ); }