Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > EPUBReader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2011, 04:43 AM   #1
traskilajussi
Junior Member
traskilajussi began at the beginning.
 
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
traskilajussi is offline   Reply With Quote
Old 02-19-2011, 10:59 AM   #2
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by traskilajussi View Post
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
Hi Jussi,

"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
mikelv is offline   Reply With Quote
Old 02-22-2011, 01:28 PM   #3
susan_cassidy
Wizard
susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.
 
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."
susan_cassidy is offline   Reply With Quote
Old 02-23-2011, 08:15 AM   #4
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by susan_cassidy View Post
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."
You are right, as far as the longdesc attribute is concerned, EPUBReader is not OPS compliant. Using an internet browser for the rendering of the content pages has many advantages, but has the disadvantage that the epub reader has the same limitations as the browser.

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:
Note: The longdesc attribute is so poorly supported that it should not be used.
Tip: To offer a long description of an image, simply create a link (that is visible to anyone) to a page with the description.
mikelv is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 04:04 AM.


MobileRead.com is a privately owned, operated and funded community.