Hi Pedro,

> just to avoid confusion:
>
> ox-latex is using :alt for the descriptive text added to images in 
> accessible PDF documents:
>
> #+ATTR_LATEX: :alt This is what a screen reader will read
> [[image.png]]
>
> It maps 1:1 to the HTML <img alt="blah blah"> and the (newer)
> LaTeX \includegraphics[alt={Blah blah}]{image.png} notations.

I just tried this from the main branch, with "make repro", and this is
not what I see in HTML export.

--8<---------------cut here---------------start------------->8---
#+title: Some title
#+options: tex:dvipng

This is a test.

#+attr_latex: :alt This is alt text
\begin{equation}
x = y + 2
\end{equation}
--8<---------------cut here---------------end--------------->8---
 
The alt-text of the generated png image is the text of the LaTeX
environment itself.

I also tried

#+attr_latex: :alt "This is alt text"

with the same result.  Actually I cannot find where in ox-html.el or
org.el this processing from "#+attr_latex: :alt ..." to the HTML image
alt text is supposed to occur.

Karthik

Reply via email to