lemmy-ui
lemmy-ui copied to clipboard
depth of threaded comments is not communicated to a screen reader
Issue Summary
It is difficult for screen reader users to tell when a comment is a new top-level comment, or is a reply to another comment.
Steps to Reproduce
- Log into Lemmy, and open a page of threaded comments
- Run a screen reader (NVDA or Narrator on Windows, voiceover on Mac or IOS)
- navigate through the comments, and notice that it's difficult to know when you've descended a level in a thread, or gone back up a level
Technical details
A good solution to this might be putting hidden text before each comment that says "level 1" or "level 2" etc; I think this is how Reddit handles it? An even better solution would be formatting comments as nested lists. This would allow screen reader users to always know where we are in a thread, and use hotkeys to skip up and down the various levels.
@fastfinge The PR for this is up if you want to see if it works any better with screen readers.
Thanks for the quick response! Based on what I can see from the code and comments, it looks good! Unfortunately I can't test directly. I've followed the ansible deploy instructions, and unfortunately this is my first time using ansible to configure anything. I'm afraid I have no idea how to get it to pull from a particular unmerged PR.