Hi Pete and all,
I can't remember whether this has been covered before, but I think
completely replacing IAccessible2 with IAccessible2_2 rather than just
extending will make life very difficult for both AT and app developers
alike. I understand that it'd be nice to clean up IAccessible2 by
removing deprecated methods and parameters. However, the reality is that
IAccessible2_2 isn't going to be implemented by every vendor overnight
and we will still need to deal with IAccessible2 in older versions of
apps even if/once it is. With the current IAccessible2_2 approach, every
vendor will have to implement all of the duplicated methods twice, once
for IAccessible2 and once for IAccessible2_2. It essentially has to be
treated as a new API even though most of the methods are the same.
The deprecated methods in IAccessible2 obviously still need to be marked
as deprecated. I think IAccessible2_2 should just contain the new
methods. Whether it inherits from IAccessible2 is an open question and
doesn't matter as much. I think this would make sense, but I'm happy
either way.
Thoughts?
Jamie
On 8/09/2012 10:43 AM, Pete Brunet wrote:
I am creating IAccessible2_2 to make some changes:
- add accessibleWithCaret
- add relationTargetsOfType
- remove nRelations/relation/relations
- add attribute // return object attribute by name
- remove unused [in] parameter on extendedStates and localizedExtendedStates
I could also change this to remove the unneeded inheritance from
IAccessible, but that might cause too much work for those reworking code
from IAccessible2. Is that true?
Pete
--
*Pete Brunet*
a11ysoft - Accessibility Architecture and Development
(512) 467-4706 (work), (512) 689-4155 (cell)
Skype: pete.brunet
IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
http://www.a11ysoft.com/about/
Ionosphere: WS4G
_______________________________________________
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
--
James Teh
Director, NV Access Limited
Email: ja...@nvaccess.org
Web site: http://www.nvaccess.org/
Phone: +61 7 5667 8372
_______________________________________________
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2