Page MenuHomePhabricator

Change "alt" to "title" for img (latex)
Closed, DeclinedPublic

Description

Should change the "alt" tag of img to "title" tag. It may be helpful for readers to see the tex souce code of all equations.

Such as: change the following line of page < http://en.wikipedia.org/wiki/Planck_constant >

<img class="mwe-math-fallback-image-inline tex" alt="E = h\nu \,." src="upload.wikimedia.org/math/6/0/1/601847ec59090015aeade4029d7683ff.png">
to
<img class="mwe-math-fallback-image-inline tex" title="E = h\nu \,." src="
upload.wikimedia.org/math/6/0/1/601847ec59090015aeade4029d7683ff.png">

Then, when we put mouse pointer on the equation img, it will show the code of the equation.

The old "alt" tag will only do this for old ie, but "title" tag does well for all browsers.

Event Timeline

Berlin222 raised the priority of this task from to Medium.
Berlin222 updated the task description. (Show Details)
Berlin222 added a project: ImageMap.
Berlin222 changed Security from None to Software security bug.
Berlin222 subscribed.
Restricted Application changed the visibility from "Public (No Login Required)" to "Custom Policy". · View Herald TranscriptJan 12 2015, 11:12 AM
Restricted Application changed the edit policy from "All Users" to "Custom Policy". · View Herald Transcript
Restricted Application added a project: acl*security. · View Herald Transcript
Restricted Application changed the visibility from "Custom Policy" to "Custom Policy". · View Herald TranscriptJan 12 2015, 11:13 AM
Restricted Application changed the edit policy from "Custom Policy" to "Custom Policy". · View Herald Transcript
Restricted Application changed the visibility from "Custom Policy" to "Custom Policy". · View Herald TranscriptJan 12 2015, 11:13 AM
Restricted Application changed the edit policy from "Custom Policy" to "Custom Policy". · View Herald Transcript
Restricted Application changed the visibility from "Custom Policy" to "Custom Policy". · View Herald TranscriptJan 12 2015, 11:14 AM
Restricted Application changed the edit policy from "Custom Policy" to "Custom Policy". · View Herald Transcript
Restricted Application changed the visibility from "Custom Policy" to "Custom Policy". · View Herald TranscriptJan 12 2015, 11:15 AM
Restricted Application changed the edit policy from "Custom Policy" to "Custom Policy". · View Herald Transcript
Parent5446 changed the visibility from "Custom Policy" to "Public (No Login Required)".
Parent5446 changed the edit policy from "Custom Policy" to "All Users".
Parent5446 changed Security from Software security bug to None.
Parent5446 subscribed.

Removed security from this bug since it is not security related or a security issue.

Aklapper lowered the priority of this task from Medium to Low.Jan 12 2015, 1:34 PM

I'm not sure if we (the community) want to have tooltips for Math.
At least I like my prosal (see http://arxiv.org/pdf/1407.0167.pdf fig 1) better. It's still a prototype, but it might be enabled soon after SVG to PNG conversion problem was resolved.

Luke081515 subscribed.

Declined per T124354. There is no consensus for this change yet. Please reopen the task if consensus reached.