carbon icon indicating copy to clipboard operation
carbon copied to clipboard

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

Open andreas-schmitt-mi opened this issue 2 years ago • 4 comments

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

andreas-schmitt-mi avatar Nov 11 '21 10:11 andreas-schmitt-mi

Hello, we experienced the same issue with Modal. Is there any update concerning this issue?

gcattan avatar Mar 17 '22 12:03 gcattan

@joshblack @abbeyhrt I am not sure about the status of this issue. Could you please help me?

gcattan avatar Jul 01 '22 18:07 gcattan

@gcattan Sorry for the lack of response, I've added this to our next sprint for someone to take a closer look.

tay1orjones avatar Jul 11 '22 19:07 tay1orjones

I'm unable to reproduce this bug in Firefox v103.0.2 on Windows 11 using JAWS v2022.2207.25ILM testing against our v10 Storybook. JAWS reads all modal headings, content, and form elements as expected.

Can you test against our Storybook example and confirm this @andreas-schmitt-mi ?

dakahn avatar Aug 10 '22 18:08 dakahn

closing as a false report/resolved. if that's not the case comment and we'll reopen 👍🏽

dakahn avatar Aug 30 '22 15:08 dakahn

@dakahn Sorry for the late response as I was on vacation. Yes, I can still reproduce that issue with the v10 Storybook example with Firefox 104 on Windows 11 and JAWS 2021.2111.13 ILM. Only parts of the dialog are read out by JAWS. Dialog title "Add a custom domain" and dialog text are not read out. Unfortunately I can not try it with a more recent version of JAWS.

andreas-schmitt-mi avatar Aug 30 '22 16:08 andreas-schmitt-mi

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

andreas-schmitt-mi avatar Sep 01 '22 08:09 andreas-schmitt-mi

@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

andreas-schmitt-mi avatar Sep 06 '22 08:09 andreas-schmitt-mi