react-awesome-modal icon indicating copy to clipboard operation
react-awesome-modal copied to clipboard

Accessibility issue

Open HZooly opened this issue 5 years ago • 0 comments

First of all, thanks for this useful tool @shibe97!

During my accessibility tests, I can notice that if user is navigating with Tab, even if modal component is invisible, it stills accessible with Tab key. I think this is a problem for a real accessibility.

My workaround for the moment :

{this.state.visible &&
  <Modal
    visible={this.state.visible}
  ...
}

Edit : the workaround results a loss of the animation. My solution is to play with tabIndex inside Modal component.

HZooly avatar Sep 05 '19 15:09 HZooly