Re: elements with presentational content

FWIW, I checked what is exposed in AT-SPI and AXAPI for a simple test 
case in the test harness [1].  The markup is:

<div role="button" id="test">
   Placeholder content
</div>

In both cases, the a11y tree shows a "button" leaf, whose accessible 
name is "Placeholder content".  Note that they both expose zero children.

AXAPI:
...
AXButton:
- AXRole:  AXButton
- AXChildren: 0 items
- AXTitle: Placeholder content

AT-SPI:
pushbutton:
- name:  Placeholder content
- Child count 0

Find attached two pngs that show more information.

[1] 
https://dvcs.w3.org/hg/pfwg/raw-file/default/ARIA/1.0/tests/test-files/roles-plain-concrete/roles-plain-concrete-button.html

-- 
;;;;joseph.


'A: After all, it isn't rocket science.'
'K: Right. It's merely computer science.'
              - J. D. Klaun -

Received on Thursday, 29 May 2014 19:50:58 UTC