View Single Post
Old 03-07-2016, 01:47 PM   #29
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,809
Karma: 6000000
Join Date: Nov 2009
Device: many
Psymon,

You seem to be linking directly inside of an svg element.

Code:
as shown on the <a href="#maxham">preceding page</a>.
This maxham link points to deep inside the svg code into the image tag itself. Notice the id="maxham" attribute on the svg image tag.

Code:
 <div class="svg_outer">
    <div class="svg_inner">
      <svg xmlns="http://www.w3.org/2000/svg" height="94%" 
preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1200 1800" 
width="94%" xmlns:xlink="http://www.w3.org/1999/xlink"><image height="1800"
id="maxham" width="1200" xlink:href="../Images/penman-maxham.jpg" />
      </svg>
    </div>
  </div>
FWIW, in general it is probably not a good idea to link into the very middle of an svg element from an xhtml section. It is much safer for the destination of the link to be an xhtml element that precedes the svg section.

So will you please try changing this one piece of code to the following to see if it prevents this particular warning:

Code:
 <div id="maxham" class="svg_outer">
    <div class="svg_inner">
      <svg xmlns="http://www.w3.org/2000/svg" height="94%" 
preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1200 1800" 
width="94%" xmlns:xlink="http://www.w3.org/1999/xlink"><image height="1800" 
width="1200" xlink:href="../Images/penman-maxham.jpg" />
      </svg>
    </div>
  </div>
Notice how I have moved the "id" attribute to the xhtml div holding the svg elements.

Please give that a try and let me know if it removes that warning.

KevinH

Last edited by KevinH; 03-07-2016 at 02:01 PM.
KevinH is offline   Reply With Quote