fix issues with safari

This commit is contained in:
MathuraMG 2016-08-10 17:24:52 -04:00
parent 6e74ef03c4
commit 9aaa814fc4
3 changed files with 4 additions and 3 deletions

View file

@ -55,7 +55,7 @@ class Console extends React.Component {
});
return (
<div ref="console" className={consoleClass} role="region" tabIndex="0" title="console">
<div ref="console" className={consoleClass} role="main" tabIndex="0" title="console">
<div className="preview-console__header">
<h2 className="preview-console__header-title">console</h2>
<button className="preview-console__collapse" onClick={this.props.collapseConsole} aria-label="collapse console">

View file

@ -102,7 +102,7 @@ class Editor extends React.Component {
render() {
return (
<div ref="container" className="editor-holder" tabIndex="0" title="code editor" role="region">
<div ref="container" className="editor-holder" tabIndex="0" title="code editor" role="main">
</div>
);
}

View file

@ -161,7 +161,8 @@ class PreviewFrame extends React.Component {
return (
<iframe
className="preview-frame"
role="region"
aria-label="sketch output"
role="main"
tabIndex="0"
frameBorder="0"
title="sketch output"