Ticket #205 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

NVDA should turn off virtual buffer on certain ARIA-enabled widgets

Reported by: vtsaran Owned by: jteh
Priority: major Milestone: 2009.1
Component: Browse mode Version: development
Keywords: ARIA virtual buffer Cc:
Operating system: Blocked by:
Blocking:

Description

NVDA should toggle virtual buffer off when an ENTER or a SPACE BAR is pressed on certain ARIA-enabled widgets such as tree view and tab pannel. Since complex widgets rely on their own keyboard navigation, using them in a virtual buffer will not be possible.

Change History

comment:1 Changed 3 years ago by jteh

  • Owner set to jteh
  • Status changed from new to accepted

comment:2 Changed 3 years ago by jteh

Partially fixed in r2615. It is not a complete fix because pressing enter on one of these controls which includes text in its descendants (e.g. paragraph within a tab) won't work. This is because pressing enter currently descends to the bottom of the object hierarchy to check for a node to activate, which will hit the paragraph instead of the tab. This needs to be modified to somehow check its ancestry for a control to activate.

Test cases:

comment:3 follow-up: ↓ 4 Changed 3 years ago by vtsaran

Using the latest daily snapshot, the tabs are not reported as tabs in a virtual buffer using examples above.

comment:4 in reply to: ↑ 3 Changed 3 years ago by jteh

Replying to vtsaran:

Using the latest daily snapshot, the tabs are not reported as tabs in a virtual buffer using examples above.

This is a separate issue covered by #216.

comment:5 follow-up: ↓ 6 Changed 3 years ago by jteh

As of r2649, NVDA will correctly switch to focus mode automatically if focused on an ARIA tab control.

Pressing enter on a tab while in browse mode still does not switch to focus mode, but it does activate the tab. We're uncertain whether switching to focus mode is actually correct behaviour in this case. The reason is that since all of the tabs are exposed in the buffer, the user probably just wants to activate the tab under the cursor, rather than switching to focus mode and then having to activate the correct tab anyway. If you really do want to interact with the tab, NVDA+space can be used. This is the same behaviour we use for buttons, checkboxes, etc. Vic, is this acceptable?

comment:6 in reply to: ↑ 5 Changed 3 years ago by vtsaran

Replying to jteh:

As of r2649, NVDA will correctly switch to focus mode automatically if focused on an ARIA tab control.

This works as advertised.

Pressing enter on a tab while in browse mode still does not switch to focus mode, but it does activate the tab. We're uncertain whether switching to focus mode is actually correct behaviour in this case. The reason is that since all of the tabs are exposed in the buffer, the user probably just wants to activate the tab under the cursor, rather than switching to focus mode and then having to activate the correct tab anyway. If you really do want to interact with the tab, NVDA+space can be used. This is the same behaviour we use for buttons, checkboxes, etc. Vic, is this acceptable?

Absolutely. I personally think this is a great resolution to the problem. As you point out, the user may not necessarily want to go into "focus mode" just to toggle the current tab. So totally agree with your approach.

comment:7 Changed 3 years ago by jteh

  • Status changed from accepted to closed
  • Resolution set to fixed

Reporter is satisfied. That's good enough for me. :)

Note: See TracTickets for help on using tickets.