Hi Alex, If I recall David Bolter requested that it be ready by Sept 1
so I better get started and I hope I can post all that was decided on
for a final review next week.

For all...

Does anyone have a preference for isNamePreferred being a method on
IAccessible2Text or an object attribute.  Currently there no other need
to create IAccessibleText2 so creation of an object attribute would
eliminate a new interface and a deprecation of an old interface so my
preference is to use an object attribute.

If we choose an object attribute would it be acceptable to document it
in the Gecko spec instead of the IA2 object attribute spec?  Rather than
documenting all the Gecko object attributes twice I am considering
adding a reference to
https://developer.mozilla.org/en-US/docs/Accessibility/AT-APIs/Gecko/Attrs
from
http://www.linuxfoundation.org/collaborate/workgroups/accessibility/iaccessible2/objectattributes

For an object attribute which name would you prefer: is-name-preferred
or is-name-preferred-over-text?

If we choose to use a method, is there a preference for isNamePreferred
or isNamePreferredOverText?

Following is the text that had been approved prior to the recent
discussion.  This same text could be tweaked for describing an object
attribute.

HRESULT isNamePreferred([out, retval] boolean* isPreferred);

Indicates that a content author has provided ancillary text in addition
to the primary text of an object and that the server has chosen to use
that ancillary text for this object's accessible name in preference to
the object's primary text.

A true value indicates that the accessible name is different from, and
more meaningful than, the text that is returned from
IAccessibleText::text.  Typically an object's accessible name is taken
directly from the object's textual content and is equivalent to the text
from IAccessibleText::text, but a true value is returned when the server
has chosen to use ancillary text rather than the accessible's primary
textual content when generating the accessible name.

Some examples that could be seen in an IAccessible2 implementation of a
web browser are:

1) <a href="http://www.adomain.com";>content</a>  In this case the
accessible name will be "content" and isPreferred will be false.

2) <a href="http://www.adomain.com"; title="a title">content</a>  If the
title text is used for the accessible name, isPreferred will be true.

3) <a href="http://www.adomain.com"; aria-label="a label">content</a>  If
the aria-label text is used for accessible name, isPreferred will be true.

4) <div id="label">a label</div><div role="radio"
aria-labelledby="label">content</div>  If the label text is used for the
accessible name, isPreferred will be true.

If this method returns true assistive technology may choose to present
the user with the accessible name rather than the text from
IAccessibleText::text.

Parameters:
isPreferred is true if the server prefers the use of the accessible name
over the text from IAccessibleText::text.

Return values:
S_OK


On 8/4/12 1:06 AM, Alexander Surkov wrote:
> I think we are ready to implement any features we talked about last
> year, we wait for the specification. If that spec is picked up by NVDA
> as well then no doubts then it improves the user experience. Iirc I am
> comfortable with any approach. If there's a way to push those changes
> into the spec then it'd be awesome.
>
> Thank you.
> Alex.
>
> On Mon, Jul 30, 2012 at 10:23 AM, James Teh <[email protected]> wrote:
>> On 28/07/2012 2:40 AM, Pete Brunet wrote:
>>> How pressing is the need for this feature for you?
>> I guess this is up to the Firefox team, as it's Firefox in which I'd like
>> the feature implemented, though I'm hoping as soon as possible. :)
>> Regardless, I still think an attribute is sufficient.
>>
>> Jamie
>>
>>
>> --
>> James Teh
>> Director, NV Access Limited
>> Email: [email protected]
>> Web site: http://www.nvaccess.org/
>> Phone: +61 7 5667 8372
>> _______________________________________________
>> Accessibility-ia2 mailing list
>> [email protected]
>> https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
> _______________________________________________
> Accessibility-ia2 mailing list
> [email protected]
> https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
>

-- 
*Pete Brunet*
                                                                
a11ysoft - Accessibility Architecture and Development
(512) 467-4706 (work), (512) 689-4155 (cell)
Skype: pete.brunet
IM: ptbrunet (AOL, Google), [email protected] (MSN)
http://www.a11ysoft.com/about/
Ionosphere: WS4G
_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2

Reply via email to