Skip to content

Commit

Permalink
fix nit
Browse files Browse the repository at this point in the history
  • Loading branch information
OEvgeny committed Feb 15, 2025
1 parent 4d9c508 commit c72e9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/component/src/LinkDefinition/LinkDefinitions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const LinkDefinitions = <TAccessoryProps extends {}>({
const summary = summaryRef.current;
const details = event.target;
if (summary && details && details instanceof HTMLDetailsElement) {
const isDetailsOpen = details.open.toString();
const isDetailsOpen = details.open.toString();
summary.setAttribute('aria-expanded', isDetailsOpen);
summary.setAttribute('aria-pressed', isDetailsOpen);
}
Expand Down

0 comments on commit c72e9b4

Please sign in to comment.