Skip to content

[Adaptive Cards] Clickable adaptive card elements do not have correct pointer/hover state #5130

Closed

Description

@lauren-mills

Is it an issue related to Adaptive Cards?

Yes, this is an Adaptive Card issue, however it only repro on Web Chat.

Is this an accessibility issue?

Yes

What version of Web Chat are you using?

Latest production

Which distribution are you using Web Chat from?

Unrelated

Which hosting environment does this issue primarily affect?

Web apps

Which browsers and platforms do the issue happened?

Browser: Edge (latest), Browser: Chrome (latest)

Which area does this issue affect?

Attachment: Adaptive Card

What is the public URL for the website?

No response

Please describe the bug

Clickable containers in adaptive cards do not have a hover state indicating they are clickable

Do you see any errors in console log?

No response

How to reproduce the issue?

Send adaptive card like this with selectable container:

{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "body": [
        {
            "type": "Container",
            "items": [
                {
                    "type": "TextBlock",
                    "text": "Interview Preparation Assistant",
                    "wrap": true,
                    "style": "heading",
                    "horizontalAlignment": "Center"
                }
            ]
        },
        {
            "type": "Container",
            "items": [
                {
                    "type": "Container",
                    "items": [
                       {
                            "type": "Container",
                            "items": [
                                {
                                    "type": "Container",
                                    "items": [
                                        {
                                            "type": "Container",
                                            "items": [
                                                {
                                                    "type": "TextBlock",
                                                    "text": "Test",
                                                    "wrap": true,
                                                    "weight": "Bolder",
                                                    "spacing": "None"
                                                }
                                            ],
                                            "spacing": "Padding"
                                        },
                                    ],
                                    "spacing": "None"
                                }
                            ],
                            "bleed": true,
                            "separator": true,
                            "selectAction": {
                                "type": "Action.Submit",
                                "data": "value"
                            },
                            "spacing": "Medium"
                        }
                    ]
                }
            ]
        }
    ]
}

What do you expect?

Any item with 'ac-selectable' class should show cursor: pointer

What actually happened?

Any item with 'ac-selectable' class do not show as clickable

Do you have any screenshots or recordings to repro the issue?

No response

Adaptive Card JSON

{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "body": [
        {
            "type": "Container",
            "items": [
                {
                    "type": "TextBlock",
                    "text": "Interview Preparation Assistant",
                    "wrap": true,
                    "style": "heading",
                    "horizontalAlignment": "Center"
                }
            ]
        },
        {
            "type": "Container",
            "items": [
                {
                    "type": "Container",
                    "items": [
                       {
                            "type": "Container",
                            "items": [
                                {
                                    "type": "Container",
                                    "items": [
                                        {
                                            "type": "Container",
                                            "items": [
                                                {
                                                    "type": "TextBlock",
                                                    "text": "Test",
                                                    "wrap": true,
                                                    "weight": "Bolder",
                                                    "spacing": "None"
                                                }
                                            ],
                                            "spacing": "Padding"
                                        },
                                    ],
                                    "spacing": "None"
                                }
                            ],
                            "bleed": true,
                            "separator": true,
                            "selectAction": {
                                "type": "Action.Submit",
                                "data": "value"
                            },
                            "spacing": "Medium"
                        }
                    ]
                }
            ]
        }
    ]
}

Additional context

No response

Activity

  1. added
    bugIndicates an unexpected problem or an unintended behavior.
    customer-reportedRequired for internal Azure reporting. Do not delete.
    Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.
    on Apr 11, 2024
  2. lauren-mills commented on Apr 11, 2024

    @lauren-mills
    Author

    WebChat also does not assign :active and :focus states to these divs when they are clicked, which is an accessibility issue.

  3. added 4 commits that reference this issue on Oct 20, 2026
    2939179
    a7af10c
    a6e051a
    dd119f0
  4. OEvgeny commented on Oct 22, 2026

    @OEvgeny
    Collaborator

    The fix (#5915) is now available in the nightly build botframework-webchat@4.19.3-main.20261021.71a806e (npm tag main), and will ship in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.area-accessibilitybugIndicates an unexpected problem or an unintended behavior.customer-reportedRequired for internal Azure reporting. Do not delete.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions