W3C home > Mailing lists > Public > www-svg@w3.org > March 2008

Re: SVGt1.2: Text Box

From: (wrong string) ありがとうございました。 <j.chetwynd@btinternet.com>
Date: Mon, 17 Mar 2008 12:51:31 +0000
Message-Id: <7A3BD0D8-6CC4-41DB-AD0B-0CE438252844@btinternet.com>
Cc: www-svg List <www-svg@w3.org>
To: "Andreas Neumann" <a.neumann@carto.net>

Andreas

It does not seem to me to be acceptable to release SVGt1.2 when the  
only means to enter text relies on javascript.
Most especially given the difficulty in changing matters after a spec  
is released.

Supposedly improved ease of implementation is a consideration,  
however the benefits are limited, if the process produces resources  
that are not readily accessible and re-purposable.

Please would you consider updating your textbox example?
It does not appear to be keyboard navigable.
no title is provided, according to the specification every standalone  
document should have a title.

the script you provide is relatively long, most especially when  
compared with the ease of use of html textbox.
you'll appreciate that this makes it unlikely that others will follow  
your lead.
similarly if others do use your code it is important that it is fully  
accessible.

Having said which I am particularly encouraged by your inclusion of  
caret, backspace and string.length features, and will endeavour to  
include them.

many thanks once again


  	
Jonathan Chetwynd

j.chetwynd@btinternet.com
http://www.peepo.com/

+44 (0) 20 7978 1764


On 17 Mar 2008, at 11:55, Andreas Neumann wrote:

Hi Jonathan,

SVG 1.2 Tiny is an a state where we cannot easily introduce new  
features,
definitely not a feature as complex as GUI widgets.

With the editable text feature of SVG 1.2t it will, however, be a lot
easier to do text-input in SVG. Opera 9.5 beta already supports this
features. It may still contain bugs. You are invited to test this and
report bugs.

I fully agree though, that there is a need for easy to use GUI
elements/widgets in SVG. It would, however, be more suitable to make a
separate module for SVG 1.2 than trying to squeeze it into SVG 1.2T.

There is a SVG 1.1 compatible textbox available at
http://www.carto.net/papers/svg/gui/textbox/ with an example at
http://www.carto.net/papers/svg/gui/textbox/index.svg - it works ok in
Opera 9, Firefox 3, Batik and ASV, but still has issues in Webkit. Also,
it doesn't yet support the SVG 1.2 editable feature.

Additionally, you might consider the use of HTML widgets inside the
foreignObject. I don't know if this would work in your case, however.

Best wishes,
Andreas

> SVGt1.2: Text Box
>
> Would it be reasonable to expect SVG1.2t to provide a standard and
> easy to implement means for the user to enter text?
> cf: a form with textbox in html.
>
> There are concerns around accessibility and noScript that need to be
> considered.
>
> an interim implementation** is here:
>
> http://www.peepo.co.uk/temp/svgTextBox.svg
>
> Your comments and improvements are encouraged.
>
> regards
>
>
> Jonathan Chetwynd
>
> j.chetwynd@btinternet.com
> http://www.peepo.com/
>
> +44 (0) 20 7978 1764
>
>
> **
> Opera is the primary testing UA, title is used in place of label.
> Amaya does not support script
> Safari support for focusable may be broken, click on textbox to enter
> text
> Mozilla support for focusable may be broken, click on textbox to
> enter text
> Batik support for String.fromCharCode( e ) may be broken, workaround
> sought.
>
>


-- 
Andreas Neumann
Bschacherstrasse 6, CH-8624 Grt/Gossau, Switzerland
Email: a.neumann@carto.net, Web:
* http://www.carto.net/ (Carto and SVG resources)
* http://www.carto.net/neumann/ (personal page)
* http://www.svgopen.org/ (SVG Open Conference)
* http://www.geofoto.ch/ (Georeferenced Photos of Switzerland)
Received on Monday, 17 March 2008 12:52:18 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:38 GMT