Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Don't render avatars in pills for screen readers. #4062

Merged
merged 2 commits into from
Feb 12, 2020

Commits on Feb 12, 2020

  1. Don't render avatars in pills for screen readers.

    These don't provide any additional information, but add extraneous noise. The link text and title already provide all information. Therefore, mark the avatar inside pills (the mention links inside messages) as hidden. Note that due to the images being part of something focusable, role "presentation" does not work here.
    
    Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
    Marco Zehe committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    6fe4eb1 View commit details
    Browse the repository at this point in the history
  2. Update to use proper quotes and fix code styling. And fix test.

    Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
    Marco Zehe committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    8004a35 View commit details
    Browse the repository at this point in the history