GNOME Bugzilla – Bug 732702
New roles for LibreOffice entities
Last modified: 2015-12-28 12:58:11 UTC
I've been checking the mapping between LibreOffice and ATK roles and found some roles in LibreOffice that don't have a match in ATK. In those cases, atk_register_role is being used to register new roles. FOOTNOTE: self-explanatory ;) END_NOTE: Text that is used as an endnote (footnote at the end of a chapter or section). TEXT_FRAME: Collection of objects that constitute a logical text entity. SHAPE: Object with graphical representation used to represent content on draw pages. NOTE: An embedded note which is not visible until activated. FOOTNOTE and SHAPE seem to be good candidates for new roles. About the other three ones, I'm not so sure; maybe they can be mapped to existing roles (e.g. NOTE -> ATK_ROLE_COMMENT). Full list of LO roles and their descriptions here: http://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1accessibility_1_1AccessibleRole.html
Conclusions from an IRC meeting: * footnote, end note and note will be mapped to ATK_ROLE_COMMENT. * text frame matches ATK_ROLE_PANEL. * shape will require further study, there's currently a bug in LibreOffice 4.2 that prevents us from checking how it behaves.
(In reply to Jacobo Aragunde Pérez from comment #1) > * shape will require further study, there's currently a bug in LibreOffice > 4.2 that prevents us from checking how it behaves. It's been decided to map shapes to ATK_ROLE_PANEL, since they may contain text.
Changes have been committed to LibreOffice: http://cgit.freedesktop.org/libreoffice/core/commit/?id=4c4f096a81e1643646f72cab17fb94610a346961 Closing bug here.