Jamie,

In ARIA you apply aria-pressed="true" or aria-pressed="false" it will
become a toggle button. From the implementation guide should we say
something about the pressed state.

IAccessible2: If aria-pressed is not undefined, it SHOULD be exposed as
IA2_ROLE_TOGGLE_BUTTON

IOW if you are ever to use a pressed state then you should change the role
to IA2_ROLE_TOGGLE_BUTTON

Cheers,
Rich

Rich Schwerdtfeger



From:   James Teh <[email protected]>
To:     [email protected]
Date:   02/20/2014 05:50 PM
Subject:        Re: [Accessibility-ia2] IA2_ROLE_TOGGLE_BUTTON is not recommend
            by spec
Sent by:        [email protected]



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
> [email protected]
> 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
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2

<<inline: graycol.gif>>

_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2

Reply via email to