I'm using a custom tooltip library, to view my titles and image alts. The way an image or link is rendered without this script is:<img src=URL HERE title=TITLE HERE height=123 width=321>As you see the title is there. But after rendering the page while having the script enabled, the above image will be rendered as:<img src=URL HERE class=CUSTOM TOOLTIP height=123 width=321>The alt is gone (or the title, if it's a link tag), and it's replaced by the custom class. When you hover it, you can see the proper title/alt. The HTML output is changed in the console, but not in the source output (obviously because jScript is client side). Now the question is, can search engines still read the alt/title attributes?I've read that nowadays google renders your page with JavaScript enabled, so i'm not sure if it takes this into account.
Can search engines read title attributes that are modified using jScript?
seo;images;alt attribute;title attribute
As mentioned, there is no evidence that title attributes on HTML elements are used by Google for ranking purposes - this is correct.The previous answer cites an irrelevant Tweet but does provide some value because the Googler explicitly advises testing. I'd urge you to discard the source citation and the statement by Simon which states that It's unlikely that Google or Bing actively monitors the DOM for Title ChangesThis is beyond easy to test especially since you're developing in jScript. Google does in fact wait for DOM mutations - and multiple tests suggest that they wait up to 5 seconds - here's a simple test where the DOM was manipulated and Google's fectch and render service in Google search console did in fact wait for 5 seconds. There's also a full post of JS tests that also confirm this : http://searchengineland.com/tested-googlebot-crawls-javascript-heres-learned-220157. If we can inject links, metadata, change HTML and Google accounts for DOM changes, there's no reason why they wouldn't be able to pick up title attribute changes. Bottom line, test it - this test should take 5 minutes and you'll get confirmation. 