Skip to content

Missing alt text on feature card image in AI Home stage #818

Closed

Description

@monzuralam

Description

The feature card image in routes/ai-home/stage.tsx:659 renders with an empty alt attribute:

<img alt="" loading="lazy" src={ feature.image } />
Since this image conveys meaningful content (it illustrates the feature associated with the card), the empty alt makes it inaccessible to screen reader users and fails WCAG 1.1.1 (Non-text Content).

Suggested fix: Populate alt with a descriptive value derived from the feature — e.g. alt={ feature.label }

Image

Step-by-step reproduction instructions

  1. Install AI plugin & Active
  2. Navigate to settings -> Ai
  3. Inspect the image

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress ( 7.0 )
  • Browser: Chrome ( 149.0.7827.199 )
  • OS: Windows 11

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except the AI plugin.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Type] Bug

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions