Skip to content

Conversation

@compulim
Copy link
Contributor

@compulim compulim commented Dec 19, 2025

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)

@compulim compulim marked this pull request as ready for review December 19, 2025 19:09
OEvgeny
OEvgeny previously approved these changes Dec 19, 2025
Action,
ActionAlignment,
ActionButtonState,
// ActionButtonState, // Not in *.js because it is realized as a number, it is in *.d.ts though.
Copy link
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
Contributor 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 compulim merged commit 94ad4f5 into main Dec 20, 2025
53 of 54 checks passed
@compulim compulim deleted the bump-adaptive-card-3.0.5 branch December 20, 2025 00:09
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.

3 participants