diff --git a/lib/components/ModalPortal.js b/lib/components/ModalPortal.js index 5faec109..911ca6b4 100644 --- a/lib/components/ModalPortal.js +++ b/lib/components/ModalPortal.js @@ -202,7 +202,7 @@ var ModalPortal = module.exports = React.createClass({ onKeyDown: this.handleKeyDown, onMouseDown: this.handleContentMouseDown, onMouseUp: this.handleContentMouseUp, - role: "dialog" + role: this.props.role }, this.props.children )