Commit d466cb9
Fix low-contrast TreeViewItem chevron in WPF Gallery nav pane
The Fluent nav TreeView expand/collapse chevron renders as a thin FontSize-10 glyph whose anti-aliased strokes only reach ~2.6:1 against the nav background, below the WCAG/MAS 1.4.11 3:1 non-text contrast minimum. The glyph size is baked into the sealed theme template via a StaticResource and cannot be overridden through application resources, so the chevron FontSize is enlarged on each realized nav container in code-behind, rendering the full stroke at ~3.9:1 in every theme.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0238f8a commit d466cb9
1 file changed
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
| |||
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
219 | 266 | | |
220 | 267 | | |
221 | 268 | | |
| |||
0 commit comments