MicrosoftDocs / msteams-docs

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

[Accessibility]Non interactive item receiving tab focus #7843

Open liuguangyicao opened 1 year ago

liuguangyicao commented 1 year ago

Description

Non interactive item "body" receiving tab focus.

https://user-images.githubusercontent.com/25132507/210953618-274118b1-0c86-43cf-a013-fcfc14bc5b64.mov

screen shot

Expected Behaviour

Only interactive item such as buttons and input text block can receive tab focus, non interactive should not receive tab focus.

Actual Behaviour

Non interactive item "body" receives tab focus.

Card Json

{
  "type": "AdaptiveCard",
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.4",
  "body": [
    {
      "id": "topic1",
      "type": "Input.Text",
      "placeholder": "Placeholder",
      "label": "Label",
      "maxLength": 256,
      "isRequired": true,
      "errorMessage": "Test Error Message",
      "spacing": "Large"
    },
    {
      "type": "Input.ChoiceSet",

      "choices": [
        {
          "title": "Choice 1",
          "value": "Choice 1"
        },
        {
          "title": "Choice 2",
          "value": "Choice 2"
        }
      ],
      "id": "userIds",
      "isMultiSelect": true,
      "placeholder": "Placeholder",
      "label": "Label",
      "isRequired": true,
      "errorMessage": "Test Error Message"
    },
    {
      "id": "topic",
      "type": "Input.Text",
      "placeholder": "Placeholder",
      "label": "Label",
      "maxLength": 256,
      "isRequired": true,
      "errorMessage": "Test Error Message",
      "spacing": "Large"
    },
    {
      "type": "ActionSet",
      "actions": [
        {
          "type": "Action.Submit",
          "title": "Send",
          "id": "sendAction",
          "associatedInputs": "auto",
          "data": {
          "path": "/test"
          }
        }
      ]
    }
  ]
}
ghost commented 1 year ago

Hi liuguangyicao! 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

ChetanSharma-msft commented 1 year ago

Hello @liuguangyicao - Sorry for delay in response. We will further investigate your query and let you know the updates.

sayali-MSFT commented 1 year ago

@liuguangyicao - We are able to repro that issue, we are checking it internally if it's bug or byDesign behaviour and let you know once we get any updates. Tasktab

sayali-MSFT commented 1 year ago

@liuguangyicao - We have raised bug for the same and concerned team is looking into it. We will inform you once we get any update.

sayali-MSFT commented 11 months ago

Sorry for delay in response!! We are actively checking the status of bug with engineering team and let you know the updates, if we have any.