Ask Your Question
4

What is the validation process for AdaptiveCards in the Bot Framework Composer?

asked 2022-04-01 11:00:00 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-01-28 07:00:00 +0000

nofretete gravatar image

In the Bot Framework Composer, the validation process for AdaptiveCards includes the following steps:

  1. When a bot composer user adds an AdaptiveCard to a dialog in the designer, the composer will perform an initial validation of the card's JSON structure to identify any syntactical errors.

  2. Once the JSON structure of the AdaptiveCard is validated, the composer will then validate whether the card's properties and values are correct based on the schema defined by the AdaptiveCards framework.

  3. The composer will then validate whether the AdaptiveCard is compatible with the channels and devices targeted by the bot. For example, some channels may only support a subset of AdaptiveCard features, and the composer will check whether the card being used is supported by the target channel.

  4. Finally, the composer will validate whether the AdaptiveCard is accessible to users with disabilities. This includes checking the card's contrast ratio, ensuring that it can be navigated using a keyboard, and verifying that it is compatible with assistive technologies like screen readers.

If any errors or issues are found during the validation process, the composer will display an error message to the user and prompt them to make the necessary changes to the card.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-04-01 11:00:00 +0000

Seen: 8 times

Last updated: Jan 28 '23