Skip to content

Commit 2a5c560

Browse files
mperrottifrancinelucca
authored andcommitted
Correct inactive ActionList.Item behavior in NavList and SelectPanel contexts (#5866)
Co-authored-by: Marie Lucca <40550942+francinelucca@users.noreply.github.com>
1 parent c01aa98 commit 2a5c560

16 files changed

+481
-198
lines changed

.changeset/floppy-peaches-obey.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
Improves how we detect context for inactive item messaging by checking the `role` on `ActionList` instead of relying on parent components, making the logic more robust and consistent. It also fixes incorrect behavior in `NavList` and `SelectPanel`, and improves accessibility by correcting `aria` relationships on tooltip buttons.
789 Bytes
Loading
810 Bytes
Loading
827 Bytes
Loading
789 Bytes
Loading
789 Bytes
Loading
870 Bytes
Loading
846 Bytes
Loading
870 Bytes
Loading
870 Bytes
Loading

0 commit comments

Comments
 (0)