Skip to content

fix(site/src): add alt text to built-in group avatars in sharing - #30666

Closed
tracyjohnsonux wants to merge 2 commits into
mainfrom
tracy/deq-352-text-alternative-for-the-informative-image-is-missing
Closed

tracyjohnsonux wants to merge 2 commits into
mainfrom
tracy/deq-352-text-alternative-for-the-informative-image-is-missing

Conversation

@tracyjohnsonux

Copy link
Copy Markdown
Collaborator

Fixes DEQ-352. Group avatars in the chat sharing "Search for user or group" dropdown rendered alt="", but Deque flagged them as informative: a group's icon conveys something its name does not.

Group avatars in UserOrGroupAutocomplete (also used by workspace sharing) and the chat sharing member list now get alt text for built-in images:

Source Alt
/icon/k8s.svg, /icon/docker.svg "Kubernetes logo", "Docker logo"
/icon/folder.svg, /icon/terminal.svg "Folder icon", "Terminal icon"
/emojis/1f34c.png "Banana emoji"
Uploaded or external URLs "" (unchanged)

Icon names come from the file name, with overrides for names that can't be derived (k8s, code, do, ...). Emoji names come from the @emoji-mart/data set the icon picker already uses, loaded only when a built-in emoji is present. Group options wait for it so alt text doesn't change after render. The shared Avatar default stays decorative.

Adds unit tests for the helper and an AutocompleteGroupLogos story. The alt values were verified in Chromium against the story.


PR opened by Coder Agents on behalf of @tracyjohnsonux.

Group avatars that use built-in icons or emojis now get alt text such
as "Kubernetes logo", "Folder icon", or "Banana emoji" in the
user or group autocomplete and the chat sharing member list.

Fixes DEQ-352
@linear-code

linear-code Bot commented Oct 13, 2026

Copy link
Copy Markdown

DEQ-352

@tracyjohnsonux
tracyjohnsonux marked this pull request as ready for review October 13, 2026 18:40
@tracyjohnsonux
tracyjohnsonux requested a review from a team as a code owner October 13, 2026 18:40
The chat sharing member list rendered emoji group avatars with alt
"Emoji" and then changed it to the emoji's name once names loaded.
@pr-queue-manager
pr-queue-manager Bot requested a review from jakehwll October 13, 2026 22:46

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit of a mess... we've been sitting around on this issue for too long. Going to open something separately 🙂

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish you best of luck!

@tracyjohnsonux tracyjohnsonux added the experimental Changes that might not necessarily be merged, until its approved to proceed with. label Oct 14, 2026
@tracyjohnsonux
tracyjohnsonux marked this pull request as draft October 14, 2026 02:52
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 14, 2026
@tracyjohnsonux
tracyjohnsonux deleted the tracy/deq-352-text-alternative-for-the-informative-image-is-missing branch October 20, 2026 14:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

experimental Changes that might not necessarily be merged, until its approved to proceed with.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants