From f35f4c0b1190c7ad221e9ea2313eb8232c3335bd Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Fri, 8 Jul 2022 11:04:39 +0200 Subject: [PATCH] fixed aria issues (#2927) fixes: #2852 --- src/authentication/components/FlowRow.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/authentication/components/FlowRow.tsx b/src/authentication/components/FlowRow.tsx index 7d3566bace..30afa3dd86 100644 --- a/src/authentication/components/FlowRow.tsx +++ b/src/authentication/components/FlowRow.tsx @@ -57,6 +57,7 @@ export const FlowRow = ({ className="keycloak__authentication__flow-item" id={execution.id} isExpanded={!execution.isCollapsed} + aria-labelledby={`title-id-${execution.id}`} > - + {hasSubList && ( onRowClick(execution)} isExpanded={!execution.isCollapsed} id={`toggle1-${execution.id}`} - aria-controls={`expand-${execution.id}`} + aria-controls={execution.executionList![0].id} /> )} {!execution.authenticationFlow && (