From 875f204f20c460ef0485341c9373663005bb85fa Mon Sep 17 00:00:00 2001 From: Vadim Dalecky Date: Mon, 19 Feb 2018 13:51:02 +0000 Subject: [PATCH] feat: add role=modal to --- src/Overlay/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Overlay/index.ts b/src/Overlay/index.ts index 033ffd01..4285c743 100644 --- a/src/Overlay/index.ts +++ b/src/Overlay/index.ts @@ -19,6 +19,8 @@ export class Overlay extends Component { onElement = (el) => { const {style} = el; + el.setAttribute('role', 'modal'); + style.zIndex = 2147483647; // Max z-index. style.position = 'fixed'; style.width = '100%';