Jonathan
I probably should have included some more code in the first place to
give people slightly more context.
Here we go:
<a xlink:title="" cursor="pointer">
<rect onmouseover="scaleLegend(evt,1.1)"
onmouseout="scaleLegend(evt,1)" stroke="black" fill="rgb
(196,142,221)" onclick="changeColour('Purple',true)" height="17"
width="17" transform="translate(53 181) scale(1)" id="purpleRect"
stroke-width="1.6"/>
<rect onmouseover="scaleLegend(evt,1.1)"
onmouseout="scaleLegend(evt,1)" stroke="none" fill="#25FF28"
onclick="changeColour('Green',true)" height="17" width="17"
transform="translate(79,181)" id="greenRect" stroke-width="1.6"/>
<rect onmouseover="scaleLegend(evt,1.1)"
onmouseout="scaleLegend(evt,1)" stroke="none" fill="#FF1B1B"
onclick="changeColour('Red',true)" height="17" width="17"
transform="translate(105,181)" id="redRect" stroke-width="1.6"/>
<rect onmouseover="scaleLegend(evt,1.1)"
onmouseout="scaleLegend(evt,1)" stroke="none" fill="#ABABAB"
onclick="changeColour('Grey',true)" height="17" width="17"
transform="translate(131,181)" id="greyRect" stroke-width="1.6"/>
</a>
Regards
Phil
--- In [email protected], "~:'' ãããã¨ãã"ã
ãã¾ããã" <[EMAIL PROTECTED]> wrote:
>
> Phil,
>
> it seems that there's something pretty wrong with the code, the
> relationship you're describing doesn't appear reasonable.
>
> without more complete code snippets it's hard to advise further.
>
> regards
>
> Jonathan Chetwynd
> Accessibility Consultant on Media Literacy and the Internet
>
>
>
> On 15 Jan 2008, at 18:59, ons.renderman wrote:
>
> Jonathan
>
> Sadly, yes. Removal of the xlink:title meant that the tabs no
longer
> responded to their click event at all.
>
> Thanks for your continuing support.
>
> Phil
>
> --- In [email protected], "~:'' ãÂâã
> âŠãÂÅ'ã¨ãÂâ ãÂ"ãÂâ"
> ãÂâã¾ãÂâ"ãŸãâ¬â" <j.chetwynd@> wrote:
> >
> > Phil,
> >
> > title is currently under discussion, it's not really whether ONS
> has
> > an obligation to provide title content... perhaps for people who
> are
> > blind, etc...
> > it's not specified that the title content is specifically for
> > tooltips, that is merely an implementation.
> >
> > did you already try removing xlink:title=""
> >
> > regards
> >
> > Jonathan Chetwynd
> > Accessibility Consultant on Media Literacy and the Internet
> >
> >
> >
> > On 15 Jan 2008, at 16:14, ons.renderman wrote:
> >
> > Jonathan,
> >
> > Thanks for the prompt response.
> >
> > Unfortunately that is the content, an empty string.
> >
> > The <a> tag is needed so that I can set a pointer that becomes
> > visible when hovering over tabs and links on the page, we do not
> > want to have any popup text so have the title to that empty
string.
> >
> > Regards
> >
> > --- In [email protected], "~:'' ãÃÂââ¬Å¡Ã£
> > ââ¬Å¡Ã
ãÃÂÃ
'ãÃÂèãÃÂââ¬
ãÃÂ"ãÃÂâ
> â¬"
> > ãÃÂââ¬Å¾Ã£ÃÂþãÃÂââ¬"ãÃÂÃ
¸Ã£â
â‰
> â¬Å¡" <j.chetwynd@> wrote:
> > >
> > > hi Phil,
> > >
> > > can you provide title content such as xlink:title="ONS
> homepage" ?
> > > this is an accessibility issue, not one that needs to be
> > supressed...
> > > xlink:href= has a totally different purpose...
> > >
> > >
> > > regards
> > >
> > > Jonathan Chetwynd
> > > Accessibility Consultant on Media Literacy and the Internet
> > >
> > >
> > >
> > > On 15 Jan 2008, at 13:05, ons.renderman wrote:
> > >
> > > Good afternoon.
> > >
> > > The following SVG code is throwing a warning into the Opera
Error
> > > Console and I would prefer not to put this code live without,
at
> > the
> > > very least, asking you guys for advice.
> > >
> > > Code: <a xlink:title="" cursor="pointer">
> > >
> > > Warning: Failed attribute on a element: title=""
> > >
> > > The <a> tag is being used to give the desired mouseover
> behaviour -
> > > cursor becoming a hand etc. Putting cursor="pointer" on the
<g>
> tag
> > > works except on ASV when you need a dummy <a> tag around it.
> > >
> > > We need to use the xlink:title as the alternative value of
> > > xlink:href made the safari browser reload the page from
scratch
> > > rather than actioning the onclick or mouseover requests.
> > >
> > > Can anyone suggest an alternative or a way of supressing the
> > > warning.
> > >
> > > Just to add another level of complexity, the SVG is created
via
> an
> > > XSL that we would prefer to leave generic and not make browser
> > > checks.
> > >
> > > Kind Regards
> > >
> > > Phil
> > >
> >
>
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/