Color not with standing, there are many ways to indicate the "bad part": italic, underlines...perhaps the squiggly underlines, used in most spell-check-as-you-type scenarios. At any rate, my idea was not to use color so much as to call attention to part of the input that caused the problem. For example, image if your word processor just said "spelling error" at the bottom of the page--not too useful.
However, you do bring up a great point about accessibility. Using your example, let's say a color-blind user has set his theme to high-contrast. How, in QML are we to account for this, other than just hope it still looks good. It would be nice if my widgets would behave based on accessibility settings, especially if the framework helped me in a way similar to i18n facilities. How nice would it be to be able to provide a set of strategies where the framework chose based on accessibility need. I could build a default indicateError() function that changed the text red and beeped, and others that would cater to various impairments: * no beep for the hearing impaired * switch to underline for the color-blind Anyway, I'm getting off topic. Again, great work guys on the calc. Will be watching the progress! Regard, Sandman On Sat, Feb 23, 2013 at 5:58 PM, Octavian Damiean <[email protected]>wrote: > On Sat, Feb 23, 2013 at 11:41 PM, Mike Sandman <[email protected]>wrote: > >> Perhaps you could do something with font color/style/weight to provide >> the feedback rather than printing "syntax error". For example (and I too >> am not a UX designer) text could be red (or italic, etc) for the added text >> when the input is invalid. You might track state using something like a >> memento pattern (think versioning) to track states. >> > > UX wise I wouldn't go with colors. Color blindness can be an issue. A > written error state indication is just about right, it is just the way it > is currently triggered that bugs me a bit. > > Cheers, > Octavian > >
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

