Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[A11y- Adaptive card] Remove the prefix text "this is a card message" of buttons from screen reader #12080

Open
sherryzhao11 opened this issue Jan 13, 2025 · 5 comments
Assignees
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

Comments

@sherryzhao11
Copy link

sherryzhao11 commented Jan 13, 2025

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

Copy link
Contributor

Hi sherryzhao11! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@sherryzhao11 sherryzhao11 changed the title [A11y- Adaptive card] Remove the prefix text "this is a card message" from screen reader [A11y- Adaptive card] Remove the prefix text "this is a card message" of buttons from screen reader Jan 13, 2025
@Nivedipa-MSFT
Copy link

@sherryzhao11 - Thank you for bringing this issue to our attention. We will look into it and get back to you shortly.

@Meghana-MSFT
Copy link
Collaborator

@sherryzhao11 - Thank you for reporting this issue, we will check this and get back to you.

@Meghana-MSFT Meghana-MSFT self-assigned this Jan 15, 2025
@Meghana-MSFT Meghana-MSFT added teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label and removed needs-triage 🔍 labels Jan 15, 2025
@Meghana-MSFT
Copy link
Collaborator

@sherryzhao11 - We checked this at our end using Narrator and it does not announce "this is a card message". It just appends the word "button" to the button name, for ex: Approve Button, Decline button.

Could you please let us know if you are using any other screen reader?

Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants