Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regions with labelledBy are being announced incorrectly #102

Closed
corinnaSchultz opened this issue Aug 13, 2018 · 6 comments
Closed

Regions with labelledBy are being announced incorrectly #102

corinnaSchultz opened this issue Aug 13, 2018 · 6 comments
Assignees

Comments

@corinnaSchultz
Copy link

corinnaSchultz commented Aug 13, 2018

Summary

http://mars.dequecloud.com/demo/RegionExample.htm#ex1
See this example page.
Press R to navigate through the page regions

Expected result

JAWS should have said "This week's poll region"

Actual result

Jaws says "heading level 3 this week's poll this week's poll region"

Example

http://mars.dequecloud.com/demo/RegionExample.htm#ex1

Additional Information

The markup shows a div with a role="region", and a labelledBy referring to an h3 tag. I think the labelledBy is being confused and announcing the entire h3 tag instead of just the contents.

Also, when I use Ins+F3 to view a list of regions, the region labels say:

  • This Week's Poll region (no "heading")
  • Content information

JAWS version and build number

JAWS 2018.1807.8 ILM

Operating System and version

Seen on Windows 7 professional SP1, and Windows 10

Browser and version:

Firefox 56.0, and Firefox 61.0.2 (on win7);
Firefox 61 on Win10 (not sure of the minor version)

@jducrot jducrot self-assigned this May 11, 2020
@jducrot
Copy link
Contributor

jducrot commented May 11, 2020

@BenKeyFSI This is still happening in JAWS 2020.2004.66, see https://cdpn.io/TPG/debug/8bb3fad8b16b3fd9bed8265d50c7f804

@jducrot jducrot assigned BenKeyFSI and unassigned jducrot May 11, 2020
@scottaohara
Copy link
Contributor

is this actually an issue, or just how JAWS immediately navigates into landmark regions and begins announcing the first element within?

for instance, if the first element within the provided example were a paragraph with text "hello", JAWS would navigate to the region by use of the R key, announce "hello" as that is where the virtual cursor is placed, and then announce "This week's poll, region".

@jducrot
Copy link
Contributor

jducrot commented May 12, 2020

@scottaohara I had the same question so I created the codepen included in my last comment. Have you checked it out?

@scottaohara
Copy link
Contributor

just responding here to our offline convo, but yes. checked both the original example and new pen out.

@JAWS-test
Copy link

JAWS-test commented May 14, 2020

is this actually an issue, or just how JAWS immediately navigates into landmark regions and begins announcing the first element within?

I would say: It is a bug:

  • The problem occurs in IE 11, Firefox and Chromium Edge. The problem does not occur in Chrome (surprisingly, Edge and Chrome are different - so far I don't know any other difference between the two browsers)
  • The problem does not occur with all regions,
    1. not with the main or nav element, not with role=main or role=navigation,
    2. but with all other regions (like the footer, contentinfo, form, aside, banner, header, section, region)
  • Not only heading of the region is output, if it is referred to by aria-labelledby. Instead, the first child element is always output (If the region contains only text, it will be output up to a certain length).
  • The problem also occurs if the region is explicitly labeled (e.g. with aria-label)

@carmacleod
Copy link

Please also see nvaccess/nvda#7823 (comment) regarding redundant heading and region announcements. NVDA was reading the region label and then the (identical) heading label, but it isn't any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants