classifai icon indicating copy to clipboard operation
classifai copied to clipboard

TTS includes meta on embedded images

Open jeffpaul opened this issue 1 year ago • 0 comments

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

  • [X] I agree to follow this project's Code of Conduct

jeffpaul avatar Sep 12 '24 19:09 jeffpaul