Skip to content

Fix ENTER/SPACEBAR on card with tapAction#3197

Merged
corinagum merged 2 commits intomicrosoft:masterfrom
compulim:fix-3196
Jun 3, 2020
Merged

Fix ENTER/SPACEBAR on card with tapAction#3197
corinagum merged 2 commits intomicrosoft:masterfrom
compulim:fix-3196

Conversation

@compulim
Copy link
Copy Markdown
Contributor

@compulim compulim commented Jun 3, 2020

Fixes #3196.

Changelog Entry

  • Fixed #3196. Cards with tapAction should be executable by ENTER or SPACEBAR key, by @compulim in PR #3197

Description

tapAction on receipt card cannot be executed using keyboard.

Specific Changes

  • Added onKeyPress handler for <AdaptiveCardRenderer>, in addition to existing onClick handler
  • Moved /__tests__/html/serve.json to /serve-test.json
  • Fixed NUnitTestReporter error when no tests were run
  • Fixed <AdaptiveCardRenderer> and <ErrorBox> for not showing up errors properly
  • Fixed runHook may keep running hook indefinitely, if the hook errored out while running
  • Added "finish key" to assist running test with sendKeys et al. locally in a browser

  • Testing Added

@compulim compulim assigned compulim and unassigned compulim Jun 3, 2020
@corinagum corinagum merged commit 6c0862d into microsoft:master Jun 3, 2020
@compulim compulim mentioned this pull request Jun 10, 2020
38 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.

[Accessibility] Card with tapAction cannot be executed thru ENTER/SPACEBAR

3 participants