img title attribute disappears in custom popup

823
2
04-16-2018 07:37 AM
AwesomeEvan
Occasional Contributor

Just making a simple img tag in a custom AGOL popup. When I included the title tag (for the purpose of having hover text) it gets removed from the code after saving and refreshing the web map.

If I add this to a custom popup...

<img title="Accessibility" alt="Accessibility" src="https://data.orangeville.ca/imglib/parkslocator/accessibility.png" />

it works perfect with the hover text and everything! UNTIL you save and refresh the web map... then the title tag has been removed?

why you no title? are global tags not recognized?

Cheers

2 Replies
KellyGerrow
Esri Frequent Contributor

Hi Evan,

Here is a list of supported HTML tags and attributes in ArcGIS Online: Supported HTML—ArcGIS Online Help | ArcGIS  Title isn't identified as a supported attribute for img. I'll check with the team to find out more about this limitation, but unsupported attributes and tags are removed from pop ups upon saving the webmap.

-Kelly

NedCake1
Occasional Contributor

Kelly,

Is there a good reason that the "title" tag is not supported? I've added it to Ideas...

https://community.esri.com/ideas/15845 

Thanks

Ned

0 Kudos