Accessibility dark mode seems to be a bit broken in places, mostly with images in dig deeper articles.
For example, on the Python track, the Leap practice exercise’s “Performance deep dive” article has a graph that shows the “light” version instead of the “dark” version when using accessibility dark mode. Looking at the HTML, it seems that both SVGs are retrieved, but the dark version is hidden with CSS:
.theme-accessibility-dark img.c-img-dark-theme {
display: none;
}
A similar problem can be seen on the C++ track’s Leap “Performance deep dive” article, where the box plot image is marked as “invertible,” and a CSS filter is applied to invert the colors, making it be black-on-black.
For both of these, the graphs were unreadable in accessibility dark mode, but fine in light mode. (Insider dark mode was not tested.)


