Skip to content

Bump adaptivecards@3.0.5 - #5661

Merged
William Wong (compulim) merged 5 commits into
mainfrom
bump-adaptive-card-3.0.5
Dec 20, 2025
Merged

Bump adaptivecards@3.0.5#5661
William Wong (compulim) merged 5 commits into
mainfrom
bump-adaptive-card-3.0.5

Conversation

@compulim

@compulim William Wong (compulim) commented Dec 19, 2025

Copy link
Copy Markdown
Collaborator

Related to #5661.

Changelog Entry

Changed

Description

Bump Adaptive Cards to 3.0.5.

Design

Checkbox group container no longer have tab index

There is an old accessibility bug (since adaptivecards@2.11) related to checkbox group container. The container itself has tabindex="0". For compliance, it should not.

We updated our test code to reflect their update.

image

Specific Changes

  • npm install adaptivecards@3.0.5 under bundle and repack/adaptive-cards
  • npm dedupe to reduce package-lock.json size
    • adaptivecards package is installed at /packages/bundle/node_modules and /packages/repack/adaptive-cards/node_modules separately, running dedupe will reunite them at /node_modules
  • Updated /package.json/workspaces to remove ./ prefix
    • npm init --workspace ... does not add ./ prefix
  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

Action,
ActionAlignment,
ActionButtonState,
// ActionButtonState, // Not in *.js because it is realized as a number, it is in *.d.ts though.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we leverage their types

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's enum. And the *.js expanded the enum back to number. So the *.js never know about ActionButtonState and not using it at all.

So it's technically importable as type, but not runnable I guess.

I am keeping it here for sake for clarity why we are not exporting it.

@compulim
William Wong (compulim) merged commit 94ad4f5 into main Dec 20, 2025
53 of 54 checks passed
@compulim
William Wong (compulim) deleted the bump-adaptive-card-3.0.5 branch December 20, 2025 00:09
@compulim William Wong (compulim) mentioned this pull request Mar 5, 2026
11 tasks
@compulim William Wong (compulim) mentioned this pull request Apr 22, 2026
11 tasks
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