Palette: Enable accessibility attributes on Button component #21

Merged
google-labs-jules[bot] merged 1 commits from palette/button-a11y-fix-1082057340107931289 into main 2026-01-25 14:16:09 +00:00

1 Commits

Author SHA1 Message Date
google-labs-jules[bot]
2eb8c57a50 Palette: Enable accessibility attributes on Button component
Refactored the `Button` component to accept and spread standard HTML button attributes.
This allows developers to add `aria-label`, `aria-expanded`, and other accessibility properties,
which were previously ignored.

Added unit tests to verify that attributes are correctly passed to the DOM element.
2026-01-25 01:36:53 +00:00