Open Bug 1217087 Opened 9 years ago Updated 2 years ago

JAWS Screen Reader Narrates Items with treeitem Role Three Times

Categories

(Core :: Disability Access APIs, defect)

41 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: markus.greystone, Unassigned)

Details

Attachments

(1 file)

Attached file Example
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36

Steps to reproduce:

I have created a ARIA tree with <ol> elements like the one attached. Enable JAWS 16 & tab to any of the links from outside the tree.


Actual results:

JAWS narrates the link three times.


Expected results:

JAWS should only narrate the item once. Firefox is the only browser with the behavior as far as i can tell.
Marco, can you confirm and/or indicate what's going on here?
Component: Untriaged → Disability Access APIs
Flags: needinfo?(mzehe)
This sounds like a JAWS bug to me. I am currently not up to date on the JAWS version and today don't have cycles to install it, but a quick test with NVDA shows that we seem to be doing the right thing, NVDA reads the items only once. So it must have something to do with how JAWS interprets this markup.

Note that it is unusual to mark up a tree view like this. Tree views (outline and outlineitem) require a very specific set of keyboard interactivity, and the example doesn't follow that at all. You are not supposed to tab to tree view items: You only tab to the tree view, with focus on the currently selected item, then select the different items with arrow keys. Tab itself takes you to the next focusable element outside the tree view. So in part, the problem may also be author error, but at least Firefox + NVDA are well-behaved enough to not do the wrong thing here. Each item is only spoken once.
Flags: needinfo?(mzehe)
Marco, you are correct. In a real-life example, I would add some scripts to enable the arrow keys to work as expected. This is example only demonstrates the tab odd behavior.
Looks like if i move role="tree" from the <nav> to the first <ol>, JAWS narrates as expected.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: