Pages: 1
Print
Author Topic: How to add <alt> element by default when i add <image> element in dita topics  (Read 42 times)
Roopesh79
Member

Posts: 5


« on: April 06, 2020, 01:04:35 AM »

Hi Developers,

I was trying to add <alt> element by default while adding an <image> tag. I updated below image mini template with <alt> element iside in all local storage(appdata/local) xmetal CTM files . But when i add an <image> element, <alt> tag is not inserting by default.

<MiniTemplate><![CDATA[<image placement="break" align="center"><alt><?xm-replace_text  alt?></alt></image>]]></MiniTemplate>

Anyone can suggest me the right steps to be taken for this?

Thanks
Roopesh
Logged
nhu1
Administrator
Member

Posts: 7


« Reply #1 on: April 06, 2020, 12:41:12 PM »

Hi,

If you do not specify "Alt Text" value in the image insertion dialog, currently XMetaL will not insert <alt> beneath <image>.

Regards,

Ning
Logged
Pages: 1
Print
Jump to:  

email us