[A11y- Adaptive card] Remove the prefix text "this is a card message" of buttons from screen reader #12080
Labels
needs-author-feedback
Needs more info from the customer.
status-no-recent-activity
teams-developer-support
Question related to extensibility (Bot, ME, Tab) would be marked under this label
Steps to reproduce
Adaptive card Json
'{
"type": "AdaptiveCard",
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "Decline with Comments",
"weight": "Bolder",
"size": "Medium",
"wrap": true,
"spacing": "Large",
"id": "declineText"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Approve",
"id": "approveAction",
"associatedInputs": "auto",
"data": {
"path": "biteLayer/requestAction"
}
},
{
"type": "Action.Submit",
"title": "Decline",
"id": "DeclineAction",
"associatedInputs": "auto",
"data": {
"path": "biteLayer/requestAction"
}
},
{
"type": "Action.ShowCard",
"title": "Decline with Comments",
"card": {
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"text": "Decline with Comments",
"weight": "Bolder",
"size": "Medium",
"wrap": true,
"spacing": "Large",
"id": "declineText"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Decline",
"id": "declineCommentAction",
"associatedInputs": "auto"
}
]
}
}
]
btn.name.mp4
}'
Expected behavior
Remove the prefix text "this is a card message" from all button names within the card,
Actual behavior
1.The button names within the card are meaningful and correct. However, each button name is prefixed with the text "this is a card message," which serves no purpose and creates redundancy.
2.This prefix text is automatically added to each button
Error details
No response
The text was updated successfully, but these errors were encountered: