The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: use aria-current instead of aria-selected on navigation drawer items (#23160)
Thomas Trompettede3889e04afb
diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsxindex c28c959035d..147f381d832 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx@@ -330,7 +330,7 @@ export const NavigationDrawerItem = ({onClick={handleMouseDownNavigationClickClick}onMouseDown={handleMouseDown}active={active}- aria-selected={active}+ aria-current={isDefined(to) && active ? 'page' : undefined}isSoon={isSoon}variant={variant}indentationLevel={indentationLevel}