W3C home > Mailing lists > Public > www-smil@w3.org > October to December 2005

Re: accesskey timing specifier syntax

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 06 Nov 2005 13:05:50 +0100
To: Cameron McCormack <cam-www-smil@aka.mcc.id.au>
Cc: www-smil@w3.org
Message-ID: <0vrrm1dj6moc09dmssm0g891em8bkfnl05@hive.bjoern.hoehrmann.de>

* Cameron McCormack wrote:
>How do I specify a "tricky" access key, such as Tab?  With this
>document:
>
>  <svg xmlns="http://www.w3.org/2000/svg">
>    <rect width="100%" height="100%">
>      <set attributeName="fill" to="red" begin="accesskey(&#x9;)"/>
>    </rect>
>  </svg>
>
>the U+0009 character in the attribute will be normalised to U+0020
>before the SVG UA ever gets to see it.

No, see <http://www.w3.org/TR/REC-xml/#AVNormalize>.

>Is there a difference between specifying accesskey(A) and accesskey(a)?
>What about accesskey(1) and accesskey(!)?  On my keyboard 1 and ! are
>on the same key.

Yes and yes; it also seems clear that the feature is based on text input
rather than keypress events. Whether accesskey(A) should be triggered if
"a" is the input is not defined in SMIL2...

>What does it mean to use a character that doesn't correspond to a key,
>such as accesskey(&#x2622;)?

This means that the user has a problem triggering it...

>Which characters must be escaped?  For example, if I want to use the
>minus key, would I have to use accesskey(\-), because of the parsing
>rules?  Any other characters?

The "character" non-terminal is indeed undefined, it seems clear though
that it resolves to U+000000-U+10FFFF except ")"; using ) as accesskey
seems to be disallowed.

>What about keys that don't corrsepond to a character in Unicode, such
>as Home?

Those can't be used, obviously.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Sunday, 6 November 2005 12:05:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:53:28 GMT