Monday, December 12, 2016

CustomButton implementation leads to incorrect handling of PushButton by screen readers

I am instrumenting an application for best possible support for assistive technologies (ATs) such as screen readers, using GWT's ARIA implementation. I see that the CustomButton widget setEnabled() method sets the aria-pressed attribute on the button element if it is enabled. This is fine for a ToggleButton but wouldn't it be incorrect for a PushButton? When the aria-pressed attribute is present, screen readers interpret the widget as a toggle button. In the case of a push button, however, this attribute should not be present, in order to allow the AT to click the widget via keyboard commands, instead of toggling it. 

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment