diff --git a/CHANGELOG.md b/CHANGELOG.md index 669133f52d..8b1ccf6b2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,7 @@ Legends: - Fixed code samples, such as in the "View code" dialog, titled "Javascript" instead of "JavaScript": common programming languages and their aliases, such as `js`, now show their proper names, which can be overridden via `overrideLocalizedStrings` (`PROGRAMMING_LANGUAGE_*`), in PR [#5896](https://github.com/microsoft/BotFramework-WebChat/pull/5896), by [@OEvgeny](https://github.com/OEvgeny) - Fixed code not being highlighted when the programming language is not in lowercase, such as `TS`, in PR [#5896](https://github.com/microsoft/BotFramework-WebChat/pull/5896), by [@OEvgeny](https://github.com/OEvgeny) - Fixed GIFs in animation cards looping with no way to stop them: they now have a pause button, and do not play when the user prefers reduced motion or the card has `autostart: false`; the icons of the Copy and View code buttons are now visible in forced colors, fixes [#5734](https://github.com/microsoft/BotFramework-WebChat/issues/5734), in PR [#5897](https://github.com/microsoft/BotFramework-WebChat/pull/5897), by [@OEvgeny](https://github.com/OEvgeny) +- Fixed the "Positive" card action button having less than 4.5:1 color contrast, fixes [#5713](https://github.com/microsoft/BotFramework-WebChat/issues/5713), in PR [#5905](https://github.com/microsoft/BotFramework-WebChat/pull/5905), by [@OEvgeny](https://github.com/OEvgeny) - Fixed screen readers announcing a single audio, video, or animation in a card as a list item, such as "1 of 1", fixes [#5722](https://github.com/microsoft/BotFramework-WebChat/issues/5722), in PR [#5903](https://github.com/microsoft/BotFramework-WebChat/pull/5903), by [@OEvgeny](https://github.com/OEvgeny) ## [4.19.2] - 2026-10-08 diff --git a/__tests__/html2/richCard/actionStyles.contrast.fluent.html b/__tests__/html2/richCard/actionStyles.contrast.fluent.html new file mode 100644 index 0000000000..c644082dd5 --- /dev/null +++ b/__tests__/html2/richCard/actionStyles.contrast.fluent.html @@ -0,0 +1,9 @@ + + +
+ + + + diff --git a/__tests__/html2/richCard/actionStyles.contrast.fluent.html.snap-1.png b/__tests__/html2/richCard/actionStyles.contrast.fluent.html.snap-1.png new file mode 100644 index 0000000000..5c5d7c0b8e Binary files /dev/null and b/__tests__/html2/richCard/actionStyles.contrast.fluent.html.snap-1.png differ diff --git a/__tests__/html2/richCard/actionStyles.contrast.html b/__tests__/html2/richCard/actionStyles.contrast.html new file mode 100644 index 0000000000..0d46580ae5 --- /dev/null +++ b/__tests__/html2/richCard/actionStyles.contrast.html @@ -0,0 +1,100 @@ + + + + + + + + + + + + diff --git a/__tests__/html2/richCard/actionStyles.contrast.html.snap-1.png b/__tests__/html2/richCard/actionStyles.contrast.html.snap-1.png new file mode 100644 index 0000000000..e9d0bcbd36 Binary files /dev/null and b/__tests__/html2/richCard/actionStyles.contrast.html.snap-1.png differ diff --git a/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.module.css b/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.module.css index b8c97b087a..3986724a34 100644 --- a/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.module.css +++ b/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.module.css @@ -50,7 +50,8 @@ } :global(.ac-pushButton.style-positive) { - background-color: #0078d7; + /* Passes 4.5:1 with white text (#5713). */ + background-color: #0078d4; color: white; }