Skip to content

Support aria-controls for buttons that toggle non-panel/popup UI#409

Merged
dannyleech merged 1 commit into
mainfrom
button-aria-controls
Jul 17, 2026
Merged

Support aria-controls for buttons that toggle non-panel/popup UI#409
dannyleech merged 1 commit into
mainfrom
button-aria-controls

Conversation

@dannyleech

Copy link
Copy Markdown
Contributor

Adds an ariaControls button-config prop (string or function) that sets aria-controls directly, for buttons that expand a plugin-owned control rather than a panel or popup menu. Also scopes plugin dispatch to the originating plugin id so it routes correctly through the combined reducer when called from evaluated props.

Extracted from the search-refactor branch so button+control consumers don't need to depend on that branch landing first.

Adds an `ariaControls` button-config prop (string or context-fn) that sets
aria-controls directly, for buttons that expand a plugin-owned control
rather than a panel or popup menu. Also scopes plugin dispatch to the
originating plugin id so it routes correctly through the combined
reducer when called from evaluated props.

Extracted from the search-refactor branch so button+control consumers
don't need to depend on that branch landing first.
@sonarqubecloud

Copy link
Copy Markdown

@dannyleech
dannyleech requested a review from markfee July 17, 2026 09:44
@dannyleech
dannyleech merged commit 610fa28 into main Jul 17, 2026
2 checks passed
@dannyleech
dannyleech deleted the button-aria-controls branch July 17, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants