[docutils:feature-requests] #108 title/tooltip option for the "image" directive

Günter Milde via Docutils-develop <[email protected]> Sat, 15 Feb 2025 13:35:53 -0000
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/feature-requests/108/08bebf706a54c2cfe21a5a41c0661ab0480c32bf.feature-requests@docutils.p.sourceforge.net>
- **summary**: "title" option for the "image" directive --> title/tooltip option for the "image" directive
- **status**: pending-works-for-me --> pending



---

**[feature-requests:#108] title/tooltip option for the "image" directive**

**Status:** pending
**Group:** Default
**Created:** Sun Sep 29, 2024 08:41 AM UTC by toastal
**Last Updated:** Mon Dec 30, 2024 03:51 PM UTC
**Owner:** nobody


Like `image`’s `:alt:` directive, allow `:title:` for creating titles on pointer hover. The use case here is different from alt as alt is for assistive technologies & titles are more to give a labels for images for those with pointer cursors.

Expected input

~~~
.. image:: /house.jxl
	:alt: Home
	:title: Navigate home
	:target: /

.. image:: /cat.jxl
	:alt: A Siamese cat on a chair
	:title: Chula says, “meow”
~~~

Expected HTML output

~~~
<a href="/"><img src="/house.jxl" alt="Home" title="Navigate home"></a>
<img src="/cat.jxl" alt="A Siamese cat on a chair" title="Chula says, “meow”">
~~~

~~~






---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.