From 3e48585737f526ee99e68e7b2758a30ca373771a Mon Sep 17 00:00:00 2001 From: Purva Sane Date: Mon, 28 Sep 2026 10:53:41 -0400 Subject: [PATCH 1/2] docs(button): Rewrite accessibility section for AI codegen Align Button docs with the Canvas Kit accessibility template: structure, built-in behaviors, requirements table, and anti-patterns scoped to variant buttons with correct Segmented Control and icon-only naming guidance. Co-authored-by: Cursor --- .../react/button/stories/button/Button.mdx | 178 ++++++++++++++---- 1 file changed, 138 insertions(+), 40 deletions(-) diff --git a/modules/react/button/stories/button/Button.mdx b/modules/react/button/stories/button/Button.mdx index 0170fad023..9d1a9b82da 100644 --- a/modules/react/button/stories/button/Button.mdx +++ b/modules/react/button/stories/button/Button.mdx @@ -118,47 +118,145 @@ tokens with the fallback being `brand.primary.**`. ## Accessibility -Our button components render semantic HTML `