lemmy-ui icon indicating copy to clipboard operation
lemmy-ui copied to clipboard

depth of threaded comments is not communicated to a screen reader

Open fastfinge opened this issue 2 years ago • 2 comments

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

  1. Log into Lemmy, and open a page of threaded comments
  2. Run a screen reader (NVDA or Narrator on Windows, voiceover on Mac or IOS)
  3. 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 avatar Jun 03 '23 14:06 fastfinge

@fastfinge The PR for this is up if you want to see if it works any better with screen readers.

SleeplessOne1917 avatar Jun 04 '23 04:06 SleeplessOne1917

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.

fastfinge avatar Jun 05 '23 12:06 fastfinge