Hi, I am catching up emails here quite late, but would like to comment on IAccessibleEditableText2:
For start/end offsets, I guess behavior should actually be like in my email here: https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-October/001227.html I have some questions/suggestions for the mimeType parameter: 1) Which format to paste As Carolyn pointed out in the referenced email, applications will choose automatically which format they prefer when multiple formats are available. I couldn't find any suggested solution for this in any email, but maybe I just missed it. AT really shouldn't guess what format would be best - the application knows better. So the specification should allow the string to be empty, which means that it's up to the application to choose the preferred format. 2) Fallback for the format In case AT provides a mime type string, but the application doesn't support it, what should happen? Should the application choose the preferred format, or ignore the call? If the later, how does AT know? 3) It's not always text... Assume you are in OOo Writer, and the clipboard has some OOo Calc stuff. A default paste will not paste an HTML table, but an OLE object. But the method is called pasteText, and not pasteSpecial. Maybe just some very special edge case, but just wanted to point out that the application will not always choose some text format. Therefore I would prefer pasteSpecial over pasteText, but anyway, this is just nitpicking and not important. 4) What about simply using a bool parameter? I am not convinced that AT want's to deal with mime types and format selection at all. The user normally simply want's to do paste-without-format vs. paste-with-format. If he really is interested in selecting a certain format, he can use the dialog in the application. I guess most AT will only use 2 different strings: Empty string (assuming that means formatted+default), and "plain/text". With a bool, you don't have the issue described in 2) - TRUE simply means to prefer formatted text if available/possible, otherwise fall back to unformatted text. Malte. Pete Brunet wrote, On 07.06.2011 06:09: > Hi all, Please take a look at this and provide your feedback: > > https://wiki.mozilla.org/Accessibility/IA2_1.3 > > Thanks, Pete > -- > *Pete Brunet* > > a11ysoft - Accessibility Architecture and Development > (512) 238-6967 (work), (512) 689-4155 (cell) > Skype: pete.brunet > IM: ptbrunet (AOL, Google), [email protected] (MSN) > http://www.a11ysoft.com/about/ > Ionosphere: WS4G > > On 3/11/2011 11:10 PM, Alexander Surkov wrote: >> Hi, Jamie. I missed Mick suggestion on the list. It's sounds >> reasonable and I agree we should try it before getting new API for >> this since the issue is mostly about events. >> >> Thank you. >> Alex. >> >> >> On Sat, Mar 12, 2011 at 11:43 AM, James Teh <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hi. >> >> Nice work; good to get the discussion going. :) >> >> I still don't see a need for this registry API. Why not just use >> IsWinEventHookInstalled(), as Mick suggested on the IA2 list? >> >> Thanks. >> >> Jamie >> >> >> On 12/03/2011 3:48 AM, Alexander Surkov wrote: >> >> Hi. >> >> I gathered ideas into one doc - >> https://wiki.mozilla.org/Accessibility/IA2_1.3. Please give >> feedback >> here and feel free to edit the wiki. >> >> Thank you. >> Alex. >> >> >> -- >> James Teh >> Vice President, Developer >> NV Access Inc, ABN 61773362390 >> Email: [email protected] <mailto:[email protected]> >> Web site: http://www.nvaccess.org/ >> >> > > > > _______________________________________________ > Accessibility-ia2 mailing list > [email protected] > https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2 _______________________________________________ Accessibility-ia2 mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
