react-awesome-modal
react-awesome-modal copied to clipboard
Accessibility issue
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.