Skip to content

docs(action-bar): Expand accessibility section for AI codegen - #1

Closed
purvas12 wants to merge 2 commits into
masterfrom
purva-docs-update-actionbar
Closed

purvas12 wants to merge 2 commits into
masterfrom
purva-docs-update-actionbar

Conversation

@purvas12

@purvas12 purvas12 commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Summary

Resolves: N/A (docs initiative: accessibility guidance for AI codegen)

Rewrites the ## Accessibility section of ActionBar.mdx to follow the pattern used by the Button and Menu docs: intro and related-component links, minimum accessible structure, built-in behaviors (including overflow, keyboard, and screen reader expectations), an accessibility requirements table with a "no design spec" default and REQUIRED/CONDITIONAL summary, and anti-patterns. Every ARIA/focus claim was checked against modules/react/action-bar/lib and the Menu/collection hooks. The Open/close focus table is omitted because Action Bar is not an overlay.

Also adds a small Storybook docs style (.storybook/preview-head.html) that makes plain MDX table cells opaque. Storybook's zebra striping used the same color as inline code, so code pills were indistinguishable in the new requirements table. The Component API tables already had opaque cells, so this makes the MDX tables consistent with them.

Release Category

Documentation


Checklist

Where Should the Reviewer Start?

modules/react/action-bar/stories/ActionBar.mdx (Accessibility section). The Storybook CSS change is in .storybook/preview-head.html.

Areas for Feedback? (optional)

Testing Manually

Run yarn start, open Components / Buttons / Action Bar / Docs, and review the Accessibility section: tables render with opaque cells, inline code is distinguishable, and links resolve (Modal and Dialog links in particular).

purvas12 and others added 2 commits September 28, 2026 10:53
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 <cursoragent@cursor.com>
Expand the Action Bar accessibility docs to match the Button/Menu pattern:
minimum structure, built-in behaviors (overflow, keyboard, screen reader),
requirements table, and anti-patterns. Make plain MDX table cells opaque in
Storybook so inline code is distinguishable from zebra striping.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@purvas12

purvas12 commented Oct 2, 2026

Copy link
Copy Markdown
Owner Author

Superseded by Workday#4189

@purvas12 purvas12 closed this Oct 2, 2026
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.

1 participant