microsoft / microsoft/BotFramework-WebChat
Luminosity ratio of ‘This is the subtitle’ text is less than 4.5:1.
Nobody has claimed this yet.
- 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 the “This is the subtitle” text has a luminosity contrast ratio less than 4.5:1, users with low vision or those in bright or high‑contrast environments may struggle to read it. This reduces readability, causes eye strain, and excludes users who depend on sufficient text contrast.
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:
- Open URL: Web Chat in edge browser.
- Ask query 'Carousel'.
- Check the CCA of ‘This is the subtitle’ text.
- Observe the issue that Luminosity ratio of ‘This is the subtitle’ text is less than 4.5:1.
What do you expect?
Luminosity ratio of ‘This is the subtitle’ text should be equal or greater than 4.5:1.
What actually happened?
Luminosity ratio of ‘This is the subtitle’ text is less than 4.5:1.
Do you have any screenshots or recordings to repro the issue?
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/contrast-minimum
WAI-ARIA reference
No response
Adaptive Card JSON
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Web Chat using Edge, the Carousel query, and the existing styleOptions, then inspect the rendered subtitle text and its computed colors. Compare the result with the WCAG contrast-minimum reference; done means the subtitle’s luminosity ratio is at least 4.5:1.
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