02-19-2011, 04:43 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2009
Location: Tampere, Finland
Device: Nokia N96
|
<img longdesc=
When using img title= or img longdesc= epubreader doesn't display the text when mousing over the pix ... or am i doing something wrong?
cheers, Jussi |
02-19-2011, 10:59 AM | #2 | |
Developer of EPUBReader
Posts: 271
Karma: 1922
Join Date: Oct 2009
Device: none
|
Quote:
"title" doesn't work because I unfortunately had to remove these attributes. I must admit I don't remember exactly why I had to do this, but it had something to do with problems which occurred with the "book" reading style. "longdesc" doesn't work, because it's not supported by Firefox. Cheers, Michael |
|
02-22-2011, 01:28 PM | #3 |
Wizard
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
Per the ePub standard at http://idpf.org/epub/20/spec/OPS_2.0.1_draft.htm:
"2.3.4: img Element The inline element img should only be used to refer to images with OPS Core Media Types of GIF (http://www.w3.org/Graphics/GIF/spec-gif89a.txt), PNG (RFC 2083), JPG/JFIF (http://www.w3.org/Graphics/JPEG) or SVG (http://www.w3.org/TR/SVG11/). The required URI attribute, src, is used to reference the image resource, which must be listed in the Manifest. The required alt attribute should contain a brief and informative textual description of the image. This text may be used by Reading Systems as an alternative to, or in addition to, displaying the image. The text is also an acceptable fallback for an img with src referencing a non-OPS Core Media Type for which no viable fallback was found in the manifest. The alt textual description is useful for Reading Systems having limited resolution displays, or for non-visual presentation. Use of the object element is the preferred mechanism for including non-core media types in an OPS Content Document. For long descriptions, the optional title attribute may be used. Reading Systems may display the title attribute in addition to or in place of the alt text or displaying the image. For greater accessibility, it is strongly recommended that OPS Content Document authors include a URI reference in the optional longdesc attribute referencing a resource (such as another OPS Content Document in the Publication) describing the image in finer detail. Reading System developers are also strongly urged to recognize and render in an appropriate fashion (and with accessibility in mind) the resource specified in longdesc. For further information on the use of this attribute and related accessibility attributes, see http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505/#gl-provide-equivalents." |
02-23-2011, 08:15 AM | #4 | ||
Developer of EPUBReader
Posts: 271
Karma: 1922
Join Date: Oct 2009
Device: none
|
Quote:
It seems to be that the longdesc attribute isn't supported by any of the major browsers: http://www.w3schools.com/tags/att_img_longdesc.asp. Interesting are the note and the tip which can be found on this page: Quote:
|
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
img alignment mobi conversion | c3hhej | Conversion | 2 | 02-22-2011 02:06 PM |
Can you decompile an IMG file? | Nate the great | Android Devices | 3 | 06-06-2010 07:37 AM |
PRS-900 Help! Who can help me to pack the opt.img | alansuyalun | Sony Reader | 5 | 05-08-2010 09:25 PM |
img tag question.. | scott.a.andrew | ePub | 9 | 02-18-2010 02:38 PM |
Need new_opt.img for 1.2.00.18050 | SpeedFreak | Sony Reader Dev Corner | 6 | 12-15-2009 08:52 AM |