TTS includes meta on embedded images

Open
#800 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php, wordpress
Domain
content

Research direction

No file or test is named. Start by reproducing the issue with a post containing image metadata, then trace the text-to-speech handling of embedded images. Done means the generated audio no longer speaks the image metadata, with the intended treatment of alt text confirmed.

Written by the indexing model from the issue text.

Description

help wanted
Describe the bug

When an image is embedded in post content and that post content is sent out to generate an audio file, the resulting audio file includes various meta data about the image. I would submit that we should either include just the alt text or perhaps nothing about the image at all, since this isn't a screen reader scenario and more likely that someone's listening to the post content either in an un-focused browser tab or perhaps part of a bundle of audio posts in a podcast.

Steps to Reproduce
  1. Create a post
  2. include an image with caption, description, alt text provided
  3. add some additional sample text to the post content
  4. enable text-to-speech on the post
  5. publish the post
  6. listen to the audio file and hear various meta data on the image in the resulting audio file
Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
PHP
Stars
714
Forks
68
Avg merge
4h 32m
Merged PRs (30d)
23

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 10up/classifai

All issues in 10up/classifai

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.