A11y Bug 10987393: [OneNote Clipper] [Web] [high contrast]: After applying High Contrast theme, selected state focus is not visible.#649
Conversation
…d mode buttons In Windows high contrast themes (Aquatic, Desert), the selected state of font radio buttons (Sans Serif/Serif) and mode buttons (Article, etc.) was not visually distinguishable due to forced-colors overriding hardcoded CSS colors. Add explicit high contrast rules using CSS system color keywords (Highlight, HighlightText) to clearly indicate the selected/active state. Co-authored-by: KethanaReddy7 <257986085+KethanaReddy7@users.noreply.github.com> Agent-Logs-Url: https://github.com/OneNoteDev/WebClipper/sessions/fc60bfbc-74fc-43f1-a7a2-e376898f9ca1
|
@claude remove styling for claude buttons that you added. |
|
Claude finished @KethanaReddy7's task in 41s —— View job Clarification Needed
I've reviewed the changes in this PR, but I don't see any "claude buttons" styling. This PR adds styling for:
Both are high contrast accessibility fixes to make selected states visible in Windows high contrast themes. Could you clarify which styling you'd like me to remove? If you'd like me to remove both button styles, that would undo the accessibility fix this PR is meant to provide. |
|
@claude remove styling for the mode buttons that you have added |
|
Claude finished @KethanaReddy7's task in 47s —— View job Removed Mode Button Styling
Done! I've removed the |
Co-authored-by: KethanaReddy7 <KethanaReddy7@users.noreply.github.com>
d2b3aaa
into
user/kpeddireddy/LocationButtonTab
In Windows high contrast themes (Aquatic, Desert), the browser's
forced-colorsmode remaps hardcoded CSS colors to system colors, causing the selected state of font radio buttons (Sans Serif/Serif) and mode buttons (Article, Full Page, etc.) to be visually indistinguishable from their unselected states.Changes
src/styles/clipper.less— Added two rule blocks inside the existing@media (forced-colors: active)query:.control-button.active: explicitly setsHighlight/HighlightTextsystem colors so the selected font radio button is always visually distinctDemo:
https://github.com/user-attachments/assets/ea220f99-9067-4754-9c14-0269eb0d537d