tallforasmurf / PPQT

A post-processing tool for PGDP written in Python, PyQt4, and Qt
GNU General Public License v3.0
4 stars 2 forks source link

illo regexes should not issue title attribute #185

Closed bibimbop closed 10 years ago

bibimbop commented 10 years ago

In the illo:fil.typ and illo-no file, both alt and title attributes are emitted. However only the alt attribute is needed. When both are present, both will be used in aural displays.

Also I don't think it is right to limit the length to 30 characters.

tallforasmurf commented 10 years ago

I'll check the pgdp rules, I have a vague recollection both are required, but perhaps not. They do have different functions: alt is displayed while an image is loading or if it doesn't load (e.g. images are turned off), while title provides a popup on mouse hover.

Thought: would it be possible to put in CSS for the aural output that limits it to just one?

As to length, aren't these strings coming from the caption? Which is potentially unlimited, often multiple lines.