From 1a69236c3a40c784caa5597b9d14f574c4871304 Mon Sep 17 00:00:00 2001 From: Torsten Brendgen Date: Mon, 24 Aug 2026 13:56:31 +0200 Subject: [PATCH] feat: Update accessibility features in OrganizationChart component and tests --- .../organizationChart/components/OrganizationChart.tsx | 6 +++--- src/webparts/organizationChart/loc/myStrings.d.ts | 4 ++-- tests/validate-project.js | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/webparts/organizationChart/components/OrganizationChart.tsx b/src/webparts/organizationChart/components/OrganizationChart.tsx index 24e03db..f5637f4 100644 --- a/src/webparts/organizationChart/components/OrganizationChart.tsx +++ b/src/webparts/organizationChart/components/OrganizationChart.tsx @@ -3,7 +3,7 @@ import { IOrganizationNode, IUserProfile } from '../OrganizationChartTypes'; import styles from './OrganizationChart.module.scss'; import { IOrganizationChartProps } from './IOrganizationChartProps'; -interface IOrganizationChartState { +export interface IOrganizationChartState { collapsed: { [account: string]: boolean }; } @@ -39,7 +39,7 @@ export default class OrganizationChart extends React.Component 0; return (
  • + aria-selected={false} aria-expanded={hasChildren ? !collapsed : undefined}>
    {this.renderPerson(profile)} {hasChildren &&