HTML id attribute: doesn't make it through to at-spi?

classic Classic list List threaded Threaded
3 messages Options
sbq
Reply | Threaded
Open this post in threaded view
|

HTML id attribute: doesn't make it through to at-spi?

sbq
Greetings,
 
If an HTML DOM node has an id attribute, is that id value supposed to be
available to at-spi?  Also is there a definitive document that describes
the mapping between the DOM and at-spi?
 
If you look at http://www.weather.com/ at the top you'll see a box for
The Weather Channel.  In the box there are 3 radio buttons with labels:
 
1. Local Weather
2. Site
3. Web
 
Below is the HTML for these radio buttons.  You can see that each radio
button has an id= attribute.  Below the HTML is a dump of the at-spi
tree for this area of the displayed web page.  We cannot find any
evidence that the value of the id= attribute makes it to the at-spi
interface.  Are we missing something?  We are using Firefox 3.0.1.
 
<div class="c1">
    <span class="googleRadioContainer">
         <span class="googleradioContent">
             <input type="radio" id="headerSearchR1" class="searchRadio"
name="googleTypeSearch"
onclick="buildSearchInputDisplayHeader('local');" checked>
             <span class="googleradioText"> Local Weather</span>
         </span>
         <span class="googleradioContent">
             <input type="radio" id="headerSearchR2" class="searchRadio"
name="googleTypeSearch"
onclick="buildSearchInputDisplayHeader('site');MyLocationClose('whatwher
e');" value="localHeader">
             <span class="googleradioText"> Site</span>
         </span>  
         <span class="googleradioContent" value="siteHeader">
              <input type="radio" id="headerSearchR3"
class="searchRadio" name="googleTypeSearch"
onclick="buildSearchInputDisplayHeader('web');MyLocationClose('whatwhere
');" value="webHeader">
              <span class="googleradioText"> Web</span>
         </span>  
     </span>
     <span class="googleLogo"><img
src="http://i.imwx.com/web/common/poweredbygoogle.png
<http://i.imwx.com/web/common/poweredbygoogle.png> " width="103"
height="16" border="0" class="transparent">
     </span>
</div>
 
child 1/2 (n:,d:,r:section) [actions: ] [subs: Component EditableText
Hypertext Text ] (children: 4)
child 1/2   - [states: enabled, horizontal, opaque, sensitive, showing,
visible]
child 1/2   - Text(len: 31): "? Local Weather ? Site ? Web ?
[<ef,bf,bc>{fffc} Local Weather <ef,bf,bc>{fffc} Site <ef,bf,bc>{fffc}
Web <ef,bf,bc>{fffc} ]"
    child 1/4 (n:,d:,r:radio button) [actions: select] [subs: Action
Component ] (children: 0)
    child 1/4   - [states: checked, enabled, focusable, horizontal,
opaque, sensitive, showing, visible]
    child 2/4 (n:,d:,r:radio button) [actions: select] [subs: Action
Component ] (children: 0)
    child 2/4   - [states: enabled, focusable, horizontal, opaque,
sensitive, showing, visible]
    child 3/4 (n:,d:,r:radio button) [actions: select] [subs: Action
Component ] (children: 0)
    child 3/4   - [states: enabled, focusable, horizontal, opaque,
sensitive, showing, visible]
    child 4/4 (n:,d:,r:image) [actions: click] [subs: Action Component
Image ] (children: 0)
    child 4/4   - [states: enabled, horizontal, opaque, sensitive,
showing, visible]
 
-Sam
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: HTML id attribute: doesn't make it through to at-spi?

Aaron Leventhal-3
Firefox exposes it via an object attribute called "id".

Here are our docs on AT-SPI and IAccesible2 support (which are basically
done the same way):
https://developer.mozilla.org/en/Accessibility/AT-APIs

Unfortunately it may be the reverse of what you are looking for. It's
not DOM to AT-SPI, but a list of the AT-SPI features we support and when.

- Aaron
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: HTML id attribute: doesn't make it through to at-spi?

Sam-142
Thanks for your reply.  After more digging, I finally hit what I was
looking
for.  The answer to my poorly worded question is
"use Accessible_getAttributes() to obtain HTML attributes."  (Duh)

-Sam

On Dec 22, 2:54 pm, Aaron Leventhal <[hidden email]>
wrote:
> Firefox exposes it via an object attribute called "id".
>
> Here are our docs on AT-SPI and IAccesible2 support (which are basically
> done the same way):https://developer.mozilla.org/en/Accessibility/AT-APIs
>
> Unfortunately it may be the reverse of what you are looking for. It's
> not DOM to AT-SPI, but a list of the AT-SPI features we support and when.
>
> - Aaron
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility