question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[a11y]: ComposedModal dialog body content is not read out by JAWS

See original GitHub issue

Package

carbon-components, carbon-components-react

Browser

Firefox

Operating System

Windows

Package version

v10.47.0, v7.47.1

Automated testing tool and ruleset

IBM Equal Access Accessibility Checker - Latest Deployment

Assistive technology

JAWS 2021.2103.174

Description

JAWS screen reader tool only reads out modal dialog label and primary button text when the dialog is opened. The content of the modal body is not read out. Maybe I’m missing something, but I could not find a way to navigate JAWS to the dialog content e.g. using tab key. This might make it difficult for people with screen readers to understand what the dialog is about.

I noticed something strange however, if I modify the CodeSandbox so that the dialog is displayed immediately e.g. <ComposedModal open={true}> then the whole dialog including the modal body is read out by JAWS.

Not sure if this could be related to https://github.com/carbon-design-system/carbon/issues/2739

WCAG 2.1 Violation

No response

CodeSandbox example

https://codesandbox.io/s/loving-volhard-23c89?file=/src/index.js:364-377

Steps to reproduce

  1. Open CodeSandbox.
  2. Open JAWS and open “Launch dialog” button.
  3. JAWS reads <ModalHeader> label “Task failed” and the “Yes” button. The title of the <ModalHeader> and the content of the <ModalBody> is not read out by JAWS.
  4. Modify CodeSandbox <ComposedModal open={true}>
  5. JAWS reads the whole dialog including the modal body.

Code of Conduct

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
andreas-schmitt-micommented, Sep 1, 2022

@dakahn Is only the latest version of JAWS supported by carbon components?

0reactions
andreas-schmitt-micommented, Sep 6, 2022

@dakahn As a side note, it seems that the issue described for JAWS 2021 also occurs on VoiceOver of the latest MacOS 12.5.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Dialog" is not announced for modals #33715 - GitHub
I noticed that manually moving role="dialog" (although moving tabindex="-1" instead may also work) from its current <div class="modal"> element ...
Read more >
324401 - Modal <dialog> doesn't interact well with JAWS/NVDA
I expect JAWS to read within the modal dialog. Instead JAWS reads the inert nodes outside the dialog. A similar issue is seen...
Read more >
Using ARIA role=dialog to implement a modal dialog box
The ARIA role dialog can be used on elements used as containers for the dialog to inform screen reader users that a custom...
Read more >
Accessibility Does Not Read Select Properly (JAWS)
I have a select element inside of the modal used in Bootstrap. When the screen reader (Jaws), reads the select box when it...
Read more >
NVDA and JAWS Screen Reader Does Not Read Text Within ...
... to reproduce: I used NVDA and JAWS screen readers to read a modal dialog with the ... This issue does not occur...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found