Forum Discussion
Code Blocks in Courses
When building courses that cover code-heavy technical topics, I run into an ongoing issue. Rise offers the Code Snippet block, but this isn't particularly friendly for screen readers. Since we don't want learners with screen readers to get a barrage of unskippable code in the middle of a lesson, the only work-around I know of is to encapsulate the code into an Accordion block. This isn't ideal as this block does not maintain formatting and requires some effort to even add code tabbing.
The best thing would be to utilize the <code> html tag. I know that files can be manually edited after exporting, but since these edits cannot seen in Review360, they aren't acceptable for review processes. Is there any other work-around to add the code block?
- WilfriedSharp-3Community Member
Hi Zach,
I'm not sure if this helps, but maybe you can embed a HTML file of the code. The process I used is here - https://community.articulate.com/discussions/building-better-courses/programming-and-coding-ide-blocks-inside-the-course