That's such a good question and to be honest I would love to hear what other people think are the best ways to share code snippets for accessibility!
I used gist because out of the bag they read out line number + code, but Axe lint for example flags some issues as it can't determine the color contrast (I had to check a lot manually!), so I wonder if there is a better solution. Researching this is on my to do list for sure.
That's such a good question and to be honest I would love to hear what other people think are the best ways to share code snippets for accessibility!
I used gist because out of the bag they read out line number + code, but Axe lint for example flags some issues as it can't determine the color contrast (I had to check a lot manually!), so I wonder if there is a better solution. Researching this is on my to do list for sure.
Thank you and looking forward to your research~ 😀
I'll definitely be sure to write a post about it with my findings 🤓 ♥️