microsoft / microsoft/BotFramework-WebChat

Combo-box items are getting selected on receiving keyboard focus.

Open
#5,749 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A11ySev2 A11yWCAG Accessibility area-accessibility Bot Services BotFrameworkWebChat_Web bug customer-reported HCL-BIC
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

Is it an issue related to Adaptive Cards?

Yes, this is related to Adaptive Card. However, it does not repro on Adaptive Cards Designer.

What is the PWD impact?

When combo‑box items get selected automatically on receiving keyboard focus, users lose control over their choices. For keyboard and screen reader users, simply navigating through the list with arrow keys should move focus but not commit a selection. Premature selection can cause unintended actions, confusion, and data entry errors.

What browsers and screen readers do this issue affect?

Windows: Edge with Windows Narrator

Are there any code-based customization done to Web Chat?

No, I am using Web Chat without any customizations except "styleOptions".

What version of Web Chat are you using?

Latest production

Which area does this issue affect?

Others or unrelated

What is the public URL for the website?

No response

How to reproduce the issue?

Repro Steps: ​

  1. Open URL: Web Chat in edge browser.
  2. Ask query 'Card Breakfast'.
  3. Navigate to message.
  4. Observe the issue that Combo-box items are getting selected on receiving keyboard focus.
What do you expect?

Combo-box items should not get selected on receiving keyboard focus.

What actually happened?

Combo-box items are getting selected on receiving keyboard focus.

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

https://github.com/user-attachments/assets/d3455365-34e9-475c-bc21-8239e85c82f5

Did you find any DOM elements that might have caused the issue?

No response

MAS reference

No response

WCAG reference

https://www.w3.org/WAI/WCAG21/Understanding/on-focus

WAI-ARIA reference

No response

Adaptive Card JSON

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Web Chat reproduction in Edge using Windows Narrator and the provided steps: ask “Card Breakfast,” navigate to the message, and inspect the combo-box behavior. Compare keyboard focus movement with the stated expectation that focus must not select an item, using the linked recording and WCAG on-focus reference. Done means navigating combo-box items with keyboard focus does not commit a selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.