- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 19 Dec 2011 09:03:22 -0800
- To: Richard Schwerdtfeger <schwer@us.ibm.com>
- Cc: Frank Olivier <Frank.Olivier@microsoft.com>, "chuck@jumis.com" <chuck@jumis.com>, Cynthia Shelly <cyns@microsoft.com>, david bolter <david.bolter@gmail.com>, "dbolter@mozilla.com" <dbolter@mozilla.com>, Steve Faulkner <faulkner.steve@gmail.com>, Jonas Sicking <jonas@sicking.cc>, Maciej Stachowiak <mjs@apple.com>, Paul Cotton <Paul.Cotton@microsoft.com>, "public-canvas-api@w3.org" <public-canvas-api@w3.org>, "public-html@w3.org" <public-html@w3.org>, "public-html-a11y@w3.org" <public-html-a11y@w3.org>, Sam Ruby <rubys@intertwingly.net>
On Mon, Dec 19, 2011 at 6:46 AM, Richard Schwerdtfeger <schwer@us.ibm.com> wrote: > > I doubt developers will launch an HTML text box every time they want the user to enter text: > > - editable combobox > - grid cell > - text box > > If they were going to do this the author (the lucidart example) would have done it in that example I last posted. It is really not visibly pleasing to have to launch a dialog box to enter text into an editable combobox and definitely not intuitive. That's not what Jonas was alluding to - he explicitly described his scenario, and said it was not "launching a dialog box". That would indeed be a horrible user experience. Jonas instead described positioning an element, perhaps a <div contenteditable>, atop the canvas so that it would receive focus when you clicked on it (instead of the canvas) and when you typed into it, the text would appear as if it were being live-drawn into the canvas. I can provide a simple working example if you wish. > Also, there is a technical problem with overlaying a textbox on a flow diagram drawing object. I mean in something like Visio you will want to zoom in and out to focus on a drawing object. You may want the text to magnify accordingly. That is not a technical problem; it's either automatic or trivial. If the user is using the browser's built-in zooming functionality, the canvas and the text will both zoom automatically and together. If the app is manually zooming by redrawing what's in the canvas, it is trivial to also scale the font-size and position of the text overlaid atop the canvas with some trivial CSS. Again, I can provide a simple working example if you wish. ~TJ
Received on Monday, 19 December 2011 17:04:20 UTC