Skip to content

[Feature Request]: Pass ALT text value as title automatically for inline images #1655

@florent-leborgne

Description

@florent-leborgne

Prerequisites

  • I have searched existing issues to ensure this feature hasn't already been requested
  • I have tested using the latest version of docs-builder

What problem are you trying to solve?

Is there a way we can automatically pass image ALT values as title values as well? Example:
![Hide missing values](../images/charts-gaps-fill-hide.png "title =50%") shows this when hovering an image:

Image

<img src="/elastic/docs-content/pull/2210/explore-analyze/images/charts-gaps-fill-hide.png" width="50%" height="50%" alt="Hide missing values" title="title">

Alternatively, if we know we don't want to do this or cannot, let us know as well so we can plan to check these "title" values in existing docs and improve our accessibility/SEO

Proposed Solution

  • Automatically pass the ALT value as title if possible
  • Update the internal docs: the "inline image sizing" should focus on the size parameter and exclude the dummy title, if that is even possible to specify the size without a title

Examples and Research

No response

Alternative Solutions

No response

Additional Context

No response

How important is this feature to you?

Nice to have

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions