Java JComboBox controls inaccessible with NVDA #3755

Closed
nvaccessAuto opened this Issue Jan 8, 2014 · 4 comments

1 participant

@nvaccessAuto

Reported by mdcurran on 2014-01-08 04:04
Either NVDA's support for JComboBox is broken, or JComboBox's accessibility information is broken. Either way, the experience when using NVDA is far from great.
NVDA does not announced when the comboBox is opened or closed. And html markup is inappropriately announced as part of its values.

@nvaccessAuto

Comment 1 by Michael Curran <mick@... on 2014-01-09 00:24
In [76c3482]:
```CommitTicketReference repository="" revision="76c3482a91cbb89b648eae76784f763b8d585317"
Java Access Bridge support: make interacting with JComboBoxes much more friendly. Re #3755

Specifically:
* JABHandler: no longer redirect focus events to the new focused java object's active descendant. Instead handle the focus event normally and have JAB NVDAObject's event_gainFocus queue another focus event for the descendant if there is one, only after its completed this focus event. This means that NVDA will fully report any object that gets focus, before reporting its active descendant. As the logic is now in the NVDAObject it can be customized for specific situations.
* JAB NVDAObject's name property: filter out XML markup like we already do for description. Some JComboBoxes contained html in their item names.
* Add a new ComboBox NVDAObject, which handles some issues with JcomboBoxes:
* its value is now the name of the active descendant (selected item). Previously it had no value.
* Expanded and collapsed states are exposed based on whether its first child (menu) is invisible or not. Previously it sometimes exposed expanded by itself, but never collapsed.
* Focus is not bounced to its active descendant after a normal focus event unless the comboBox is currently expanded. Previously focus always landed on the active descendant even if the comboBox was collapsed.

@nvaccessAuto

Comment 2 by Michael Curran <mick@... on 2014-01-22 06:23
In [85fe598]:
```CommitTicketReference repository="" revision="85fe5980194a8623d0b6fd32dd6e621fcf8be948"
Merge branch 'javaImprovements' into next. Incubates #3753, #3754, #3755, #3756, #3757, #3770

Changes:
Added labels: incubating
@nvaccessAuto

Comment 3 by Michael Curran <mick@... on 2014-02-07 05:31
In [5bd2574]:
```CommitTicketReference repository="" revision="5bd2574e845f9da8cd4d2452d27b32a5dda79fbb"
Merge branch 'javaImprovements'. Fixes #3753, #3754, #3755, #3756, #3757, #3770

Changes:
Removed labels: incubating
State: closed
@nvaccessAuto

Comment 4 by mdcurran on 2014-02-07 05:36
Changes:
Milestone changed from next to 2014.1

@nvaccessAuto nvaccessAuto added this to the 2014.1 milestone Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment