Skip to content

Commit cbd1402

Browse files
committed
fix(search): Fix a11y issue with nested interactive controls
1 parent f7ac060 commit cbd1402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/shared/components/resource-card/resource-card.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<p-accordion-header class="flex flex-row align-items-start gap-3 p-0">
55
<div osfStopPropagation class="flex flex-column align-items-start gap-2">
66
<p class="type py-1 px-3 font-bold">{{ cardTypeLabel() | translate }}</p>
7+
</div>
8+
</p-accordion-header>
79

810
<div class="flex align-items-center gap-2">
911
<h2>
@@ -111,8 +113,6 @@ <h2>
111113
[hasSupplements]="resource().hasSupplementalResource"
112114
/>
113115
}
114-
</div>
115-
</p-accordion-header>
116116
<p-accordion-content>
117117
<div class="flex flex-column pt-1">
118118
<hr class="w-full break-line my-2" />

0 commit comments

Comments
 (0)