Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove Panel Role change
  • Loading branch information
SohamPatel46 committed Jan 19, 2026
commit 44e34772e190283f18d599b0c6b01333c3b6ae69
7 changes: 0 additions & 7 deletions packages/block-library/src/accordion/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ const { actions } = store(
);
return accordionItem?.isOpen ? null : 'until-found';
},
get panelRole() {
const { id, accordionItems } = getContext();
const accordionItem = accordionItems.find(
( item ) => item.id === id
);
return accordionItem?.isOpen ? 'region' : null;
},
},
actions: {
toggle: () => {
Expand Down
Loading