And in here, these filler boxes that are used for layout are exposed as whitespace. It looks very similar to what Mozilla is doing, exposing an accessibility element hierarchy to assistive technologies that resembles the hierarchy of VCL and document elements. > stuff have windows as real children of other windows ? or is the layout > I guess I didn't read what we're doing there yet does the new VCL layout How they got there, and how many boxes are around them, is nothing assistive tecnologies care about too much. They are for layout purposes only, and the important thing for ATs to know is the location and width and height of actual elements like labels, controls etc. In XUL, vbox, hbox and other layout elements are left out, for example. The accessibility hierarchy is a subset of the DOM hierarchy. So the parent/child relationships are based on the DOM trees of both the browser chrome and content. All the rest that is exposed is a hierarchy built from the XUL of the Chrome, and the HTML of the web content, if any. Mozilla has only only one "real" window that gets exposed to assistive technologies, meaning one that has a window handle, control ID and Window Class. > against exposing the layout peers: even though they may well provide useful > different tree to their internal representation - which (I guess) militates > Ominously their drawing of what gets a peer seems to show them exporting a > Mozilla has some great API documentation here: IAccessible2 attributes: exception: (-2147467259, 'Unspecified error', (None, None, None, 0, None)) IAccessible2 role: ROLE_SYSTEM_WHITESPACE IAccessible accDescription: u'Click an icon to open a new document or a file dialog.' IAccessible accRole: ROLE_SYSTEM_WHITESPACE IAccessible event parameters: windowHandle=2098126L, objectID=-4, childID=-77 INFO - _navigatorObject_devInfo (17:31:59):ĭescription: u'Click an icon to open a new document or a file dialog.' The information grabbed with NVDA+F1 for one of these looks as follows: You'll hear NVDA repeatedly say "White Space", followed by the description of the "Option Panel" spoken initially.Įxploring the object hierarchy, several direct children and grand children of the Option Pane are WhiteSpace accessibles. With NVDA running, start LibreOffice, either 4.2.0 or 4.3.0 nightly.Ģ.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |