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

role=caption is not output as acc name of the table (Chrome, Edge) #391

Open
JAWS-test opened this issue May 28, 2020 · 2 comments
Open
Labels

Comments

@JAWS-test
Copy link

JAWS-test commented May 28, 2020

Summary

  1. Go to https://codepen.io/jaws-test/pen/XWmLXop
  2. Press INS+Ctrl+T (table overview)

Expected result

role=caption is output as table name when referenced from the table via aria-labelledby

Actual result

  • role=caption is not output as table name when referenced from the table via aria-labelledby
  • The problem occurs in Chrome and Edge
  • The problem does not occur in Firefox and IE 11 (and not with NVDA + Chrome)
  • The problem only occurs when using aria-labelledby to directly reference the element with * role=caption. It does not occur if no role=caption is used or if aria-labelledby refers to a child element.
  • It does not occur for HTML tables with the caption element
  • It is a JAWS bug because the accessibility tree in Chrome displays the label correctly

grafik
Screenshot: Accessibility Tree showing the correct acc name for the second table

Additional Information

JAWS version and build number

JAWS 2020.2003.13
JAWS 2019.1912.1

Operating System and version

Windows 10

Browser and version:

Chrome 83.0.4103.61
Edge 83.0.478.37

@stevefaulkner
Copy link
Contributor

Here is a test case: https://codepen.io/stevef/pen/eYpwZmv
Can reproduce

@scottaohara
Copy link
Contributor

scottaohara commented Jun 19, 2020

taking another look at this today (june release of jaws 2020), can confirm it's still an issue, however also note that when paired with Firefox (latest) there is no accName for the table with a nested role=caption either.

cc @BenKeyFSI

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

No branches or pull requests

3 participants