Skip to content

Accessibility issues #5

@jasonday

Description

@jasonday

Non-exhaustive list.
I will update as I test more.

  • linking the entire comment (text value plus likes, replies, reposts) is confusing for screenreaders and keyboard users. I suggest not linking the whole comment and interactions, but adding a "permalink" link to the comment. (so only the username and permalink are links).

permalink implementation

  • Additionally, the interactions don't have a clear accessible name. Adding a <title> to the svgs would resolve that - i,.e. <title>likes</title>. However, this breaks up the elements into two announcements for a screenreaders, so alternatively you could add aria-hidden="true" to each svg, then do something like: <p class="text-xs">2 <span="sr-only">likes</span></p> then they would be announced together.
  • Additionally, there's not a semantic structure to comments. I suggest doing one of the following:
    • enclosing each comment in a <blockquote> element. This gives wayfinding to a screen reader user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions