Hi Rich,
This is certainly how Firefox exposes it, except that Firefox also
exposes the checkable state, which is a related (but separate) issue.
This option certainly makes sense.
The alternative is to use a role of button and introduce a pressable
state or document that the checkable state on buttons actually means
pressable.
I don't mind which from a principle standpoint, but it would seem the
former will have less impact, given that Firefox is already doing it.
Jamie
On 26/02/2014 9:29 AM, Richard Schwerdtfeger wrote:
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_
<http://www.w3.org/TR/2014/PR-wai-aria-20140206/states_and_properties#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
Inactive hide details for James Teh ---02/20/2014 05:50:12 PM---Further
to this, the IA2 spec recommends using ROLE_SYSTEM_PUSHJames Teh
---02/20/2014 05:50:12 PM---Further to this, the IA2 spec recommends
using ROLE_SYSTEM_PUSHBUTTON. The problem with this is tha
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
--
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