MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
282 stars 503 forks source link

[iOS][Accessibility Issue] Adaptive card button controls are not adopting larger text setting #6933

Open Wajeed-msft opened 2 years ago

Wajeed-msft commented 2 years ago

Copied bug from: https://github.com/microsoft/AdaptiveCards/issues/7814

Details from original post:

Target Platforms

iOS

SDK Version

2.8.5

Application Name

Microsoft Teams

Problem Description

On Microsoft Teams iOS platform, the adaptive card button controls are not adopting to larger text setting

  1. login to Teams with valid credentials
  2. Font size set up to max. (Settings->Display & Text Size-> Select Larger text button as on)
  1. Open Teams application
  2. Navigate over the 'Teams' and activate it.
  3. Navigate over Teams and Channel and open any channel.
  4. Navigate on to adaptive card.
  5. Observe that adaptive card button controls are not adopting larger text setting.

Actual Results: Adaptive card button controls are not adopting larger text setting.

Expected Results: Adaptive card button controls should be adopting a larger text setting. Text size should be increased according to resize settings.

User experience: Low vision application users who are dependent on large text sizes to read the content may get affected if the content is not visible properly in large text resize.

Screenshots

image

Card JSON

{
        "type": "AdaptiveCard",
        "body": [
            {
                "color": null,
                "horizontalAlignment": null,
                "isSubtle": false,
                "maxLines": 0,
                "size": "medium",
                "text": "Happy Testing",
                "weight": "bolder",
                "wrap": false,
                "separator": false,
                "type": "TextBlock"
            },
            {
                "color": null,
                "horizontalAlignment": null,
                "isSubtle": false,
                "maxLines": 0,
                "size": "medium",
                "text": "Refreshed Card",
                "weight": "bolder",
                "wrap": false,
                "separator": false,
                "type": "TextBlock"
            },
            {
                "actions": [
                    {
                        "verb": "initiateSSO",
                        "title": "SSO Button",
                        "type": "Action.Execute"
                    },
                    {
                        "verb": "initiateOAuth",
                        "title": "OAuth Button",
                        "type": "Action.Execute"
                    },
                    {
                        "verb": "loopSSO",
                        "title": "Loop SSO",
                        "type": "Action.Execute"
                    },
                    {
                        "verb": "loopOAuth",
                        "title": "Loop OAuth",
                        "type": "Action.Execute"
                    },
                    {
                        "verb": "latency",
                        "title": "Latency",
                        "type": "Action.Execute"
                    },
                    {
                        "verb": "TestPreConditionFailed",
                        "title": "Test PreCondition Failed SSO",
                        "type": "Action.Execute"
                    },
                    {
                        "verb": "TestPreConditionFailedWithoutSignIn",
                        "title": "Test PreCondition Failed SSO without SignIn",
                        "type": "Action.Execute"
                    },
                    {
                        "title": "Action Submit Button",
                        "type": "Action.Submit"
                    }
                ],
                "separator": false,
                "type": "ActionSet"
            },
            {
                "color": null,
                "horizontalAlignment": null,
                "isSubtle": false,
                "maxLines": 0,
                "size": "medium",
                "text": "SSO success",
                "weight": "bolder",
                "wrap": false,
                "separator": false,
                "type": "TextBlock"
            }
        ],
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "version": "1.2",
        "refresh": {
            "action": {
                "verb": "basicRefresh",
                "title": "RefreshTitle",
                "type": "Action.Execute"
            }
        }
    }

Sample Code Language

No response

Sample Code

No response---

Document Details

Do not edit this section.It is required for docs.microsoft.com ➟ GitHub issue linking.

ghost commented 2 years ago

Hi Wajeed-msft! 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

Nivedipa-MSFT commented 2 years ago

@samyuktha24 - We are able to repro your issue. We have raised a bug for the same. We will let you know once we have any updates on it.

samyuktha24 commented 1 year ago

@Nivedipa-MSFT: Can you please share the bug details which you have raised for this issue? Any updates on when this issue is going to be fixed? Thanks.

Nivedipa-MSFT commented 1 year ago

@samyuktha24 - We are checking the bug status with the engineering team. We will let you know once we have any update.