[docutils:feature-requests] #108 title/tooltip option for the "image" directive
Günter Milde via Docutils-develop <[email protected]> Mon, 28 Apr 2025 09:49:44 -0000
| Newsgroups | gmane.text.docutils.devel |
|---|---|
| Message-ID | </p/docutils/feature-requests/108/d3bab7802ecc25fbdc36ee95b18bca052509c9dd.feature-requests@docutils.p.sourceforge.net> |
- **status**: pending --> pending-moreinfo - **Comment**: This feature requestd needs more thought and discussion -- may be a topic for an enhancement proposal. --- **[feature-requests:#108] title/tooltip option for the "image" directive** **Status:** pending-moreinfo **Group:** Default **Created:** Sun Sep 29, 2024 08:41 AM UTC by toastal **Last Updated:** Sat Feb 15, 2025 01:35 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.