[a11y]: Export Modal Dialog closing on second esc keypress #6015
Labels
component: modal
For about, export, import, remove modals
screen-reader: JAWS
Sev 3
Visible or noticeable to users but does not impede functionality. Has a workaround.
type: a11y ♿
Issues not following accessibility standards
type: bug 🐛
Something isn't working
Package
@carbon/ibm-products
Browser
Chrome, Firefox, Edge
Operating System
Windows
Package version
v2.49.0-rc.0
React version
No response
Automated testing tool and ruleset
manual
Assistive technology
JAWS
Description
Reported by Raghu during screen reader testing.
The "Export" dialog closes only after activating the esc key a second time.
As a best practice, the Modal is expected to close with a single press of Escape key.
WCAG 2.1 Violation
No response
Reproduction/example
https://ibm-products.carbondesignsystem.com/?path=/story/ibm-products-components-export-exportmodal--standard&globals=viewport:basic
Steps to reproduce
This was reported in all variants of the Export Modal by Raghu.
open the export modal in a windows machine with jaws activated, and press
esc
key and notice the modal doesn't close on first timeCode of Conduct
The text was updated successfully, but these errors were encountered: