Automattic / Automattic/jetpack

Gif/Giphy Block: Add Alt Text field

Open
#25,008 0 comments 0 reactions 0 assignees View on GitHub
[Block] GIF [Focus] Accessibility [Plugin] Jetpack [Pri] Normal Media New Feature Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### What

Right now the Giphy block doesn't allow you to set alt-text anywhere, and it seems to pull alt-text from the image on giphy itself. Alt text should be contextual so this seems unexpected and is sometimes very lacking, and this should have an option for people to add their own alt-text related to their content.

### Why

This is an accessibility issue, all images and gifs should have proper alt-text, and with this block we can't set it.

### How

I am not sure how to do this when the whole thing is set in an iframe embed, but I do see alt-text on the original images and in the HTML

Contributor guide

Open the contributing guide

Research direction

Start by locating the Giphy block and tracing how its iframe embed and image alt text are represented. Confirm where a user-provided alt-text value can be entered and rendered, then verify that the block exposes contextual alt text and that existing embeds continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
accessibility, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.