Re: [g-a-devel] exposing characteristics of dates in a calendar



Mike,

Description is designed for human-reading, not for something like a state/status indication. We have things like Focused, Selected, etc. in AccessibleState. You can imagine a screen reader script wanting to pick out this info - it would have to parse descriptions for that - the kind of ugliness that was stuffed into MSAA because there weren't other richer ways of conveying needed info.

Regards,

Peter Korn
Accessibility Architect & Principal Engineer,
Sun Microsystems, Inc.

Brad just reminded me that atk objects have a "description", so that could be a good way to expose a date being today, although, from a brief look at the code, it seems that Orca currently only reads an object's description in certain cases.

On Mon, 8 Dec 2008, Mike Gorse wrote:

Hi all,

We're trying to a11y-enable the SWF MonthCalendar control in Mono. It represents "today" by placing a big red circle around the number, and we're trying to figure out how to expose that in atk. I was thinking of adding an attribute, to be returned either by getAttributes or getRunAttributes, for the object representing today, although I don't know if there is a standard attribute that we could use for it. I can't think of a better way to handle it, though. A date can also be bold, so we'll need to add a text attribute to handle that case.

Does anyone have any input?

Thanks,
-Mike G-

_______________________________________________
Gnome-accessibility-devel mailing list
Gnome-accessibility-devel gnome org
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]