Further to this, the IA2 spec recommends using ROLE_SYSTEM_PUSHBUTTON. The problem with this is that it's not possible to tell whether the button can be toggled when it is not pressed. That is, you can't tell whether it's just a normal button that can't be toggled or whether it's a button that can be toggled (pressed or not pressed).

Jamie

On 21/02/2014 12:15 AM, Alexander Surkov wrote:
Hi. IA2 spec doesn't recommend to use TOGGLE_BUTTON role [1]:

<BR><B>Note:</B> IA2_ROLE_TOGGLE_BUTTON should not be used.  Instead, use MSAA's
    ROLE_SYSTEM_PUSHBUTTON and STATE_SYSTEM_PRESSED.

However it's in use in Firefox for years [2]. Note, ATK's toggle button
doesn't have similar wording.

Is there any particular reason of this wording?

Thank you.
Alexander.

[1]
http://accessibility.linuxfoundation.org/a11yspecs/ia2/api/AccessibleRole.idl
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=390284
[3] https://developer.gnome.org/atk/unstable/AtkObject.html


_______________________________________________
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


--
James Teh
Director, NV Access Limited
Ph + 61 7 5667 8372
www.nvaccess.org
Facebook: http://www.facebook.com/NVAccess
Twitter: @nvaccess
_______________________________________________
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2

Reply via email to