- Notifications
You must be signed in to change notification settings - Fork 31
Closed
Enhancement
Copy link
Labels
Description
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:

shows this when hovering an 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">
- We must resize our images in many cases, so if we start from the example in the internal docs, we all use
"title =<the-size>"
so we'll see a proliferation of "title" titles.
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
theletterf