(Bug report) "title" attribute doesn't show tooltip on some DOM elements

I needed to put a title on anchor tag and noticed the tooltip doesn’t appear. After a quick test, it seems to work only for inputs and labels.

It might work when set via the style object.

/**
 * Sets the tool tip on the form element. Setting tooltip via title style bc not working in other tests
 * @param {HTMLElement} component 
 * @param {String} value 
 **/
function setTitleViaStyle(component, value) {
	component.style.title = value;
}

I think tool tips are working on more elements in the latest build (version 19).

Related