You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Description of diff style is incorrect in Quick Start #2090
In the rest of the code examples in this tutorial, whenever we add or remove code, we will show a "diff." The lines you need to remove have a minus sign in front of them, and the lines you should add have a plus sign. If you are using a screen reader while you go through the Guides, we recommend using Firefox and NVDA or Safari and VoiceOver for the best experience.
However, the diffs display only with colors:
There are no pluses or minuses in the elements either.
I suspect this may not be accessible to those with colorblindness.
@kategengler I restored the +/- markers site-wide (not just in Quick Start), since they disappeared after the Shiki migration and the guide text still mentioned them.
One accessibility note: the restored +/- markers are implemented using CSS ::before content, similar to the old Prism styling. This improves the visual distinction, including for users with color-vision deficiencies, but screen readers do not reliably announce generated content.
For full screen-reader support, the markers-or accessible labels such as "added" and "removed"-would need to be included in the DOM. Ideally, this could be handled centrally in ember-showdown-shiki, where the diff lines are rendered, rather than requiring changes to every guide page.
Activity
Fix Quick Start diff description and show +/- markers (ember-learn#2090)
olenderhub commentedon Jul 27, 2026
@kategengler I restored the
+/-markers site-wide (not just in Quick Start), since they disappeared after the Shiki migration and the guide text still mentioned them.PR: #2231
What do you think?
olenderhub commentedon Jul 27, 2026
One accessibility note: the restored +/- markers are implemented using CSS ::before content, similar to the old Prism styling. This improves the visual distinction, including for users with color-vision deficiencies, but screen readers do not reliably announce generated content.
For full screen-reader support, the markers-or accessible labels such as "added" and "removed"-would need to be included in the DOM. Ideally, this could be handled centrally in ember-showdown-shiki, where the diff lines are rendered, rather than requiring changes to every guide page.
olenderhub commentedon Jul 27, 2026
@kategengler I pushed code with changes in ember-showdown-shiki which I believe is better direction with optional diff markers
so instead proposition above I think better is to check if this works IgnaceMaes/ember-showdown-shiki#49 better
What do you think?