basecamp / basecamp/trix

alt attribute on img tag is missing

Open
#1,230 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20k
Forks
1.1k
Avg merge
3d 12h
Merged PRs (30d)
13

Description

The `alt` attribute on `img` tags is always missing. I have expected to set the `alt` attribute by adding a caption (`figcaption`). But that's not happening. Especially for SEO optimised sites the alt attribute is very important. How can I set it? Anny help is appreciated!

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the behavior in the Trix rich text editor by adding an image with a caption, then trace how image content is represented and rendered. Confirm how captions and image attributes are currently handled. Done means an image can receive the expected alt attribute and the behavior is covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.