Underline chat carousel links in high-contrast themes - #334924
Merged
Lee Murray (mrleemurray) merged 2 commits intoSep 8, 2026
Conversation
Fixes #334647 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot started reviewing on behalf of
Lee Murray (mrleemurray)
September 7, 2026 14:17
View session
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The fix is correctly scoped and comprehensively covers both high-contrast variants without altering normal-theme behavior.
Pull request overview
Restores underlines for nested Markdown links in chat carousels under both high-contrast themes.
Changes:
- Adds scoped high-contrast link styling.
- Adds eight theme/preference regression cases.
- Extends component fixtures with light high-contrast support.
File summaries
| File | Description |
|---|---|
fixtureUtils.ts |
Adds the light high-contrast fixture theme. |
chatQuestionCarousel.fixture.ts |
Expands Markdown link visual coverage. |
chatQuestionCarouselPart.test.ts |
Tests underline behavior across themes and preferences. |
chatQuestionCarousel.css |
Underlines carousel Markdown links in HC themes. |
Review details
- Files reviewed: 4/4 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Screenshot ChangesBase: Changed (2)3 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details. Added (2) |
Sandeep Somavarapu (sandy081)
previously approved these changes
Sep 7, 2026
Martin Aeschlimann (aeschli)
approved these changes
Sep 7, 2026
Lee Murray (mrleemurray)
deleted the
mrleemurray/elaborate-apricot-tyrannosaurus
branch
September 8, 2026 07:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #334647
Summary
Restore a consistent link cue in high-contrast chat question carousels. The global HC rule only underlines direct
p > alinks, so anchors nested inside bold text, emphasis, headings, and lists miss it.Link activation and keyboard handling are unchanged. The hover-color question in #334651 remains separate.
Validation
Manual verification
Open the
chat/chatQuestionCarousel/MarkdownLinksfixture in DarkHighContrast and LightHighContrast. Confirm that links in the introduction, bold question title, detailed heading, paragraph, and list are underlined at rest. Focus and hover the title link, then switch to Dark and Light to confirm their existing styling is preserved.Screenshots
Captured from the same real-widget MarkdownLinks fixture before and after the scoped CSS fix.
Dark high contrast
Light high contrast