diff --git a/client/modules/IDE/components/PreviewFrame.jsx b/client/modules/IDE/components/PreviewFrame.jsx index 93d83aec..f153ac56 100644 --- a/client/modules/IDE/components/PreviewFrame.jsx +++ b/client/modules/IDE/components/PreviewFrame.jsx @@ -205,16 +205,11 @@ class PreviewFrame extends React.Component { ]; const accessiblelib = sketchDoc.createElement('script'); accessiblelib.setAttribute( - 'src', 'https://cdn.rawgit.com/MathuraMG/p5-accessibility/9cb5bd0b/dist/p5-accessibility.js' + 'src', 'https://cdn.rawgit.com/MathuraMG/p5-accessibility/298ccdf6/dist/p5-accessibility.js' ); const accessibleOutputs = sketchDoc.createElement('section'); accessibleOutputs.setAttribute('id', 'accessible-outputs'); - accessibleOutputs.style.position = 'absolute'; - accessibleOutputs.style.left = '-1000px'; - accessibleOutputs.style.top = 'auto'; - accessibleOutputs.style.width = '1px'; - accessibleOutputs.style.height = '1px'; - accessibleOutputs.style.overflow = 'hidden'; + accessibleOutputs.setAttribute('aria-label', 'accessible-output'); if (this.props.textOutput) { sketchDoc.body.appendChild(accessibleOutputs); sketchDoc.body.appendChild(accessiblelib); diff --git a/client/modules/IDE/components/Toolbar.jsx b/client/modules/IDE/components/Toolbar.jsx index 6cca4631..d237a08f 100644 --- a/client/modules/IDE/components/Toolbar.jsx +++ b/client/modules/IDE/components/Toolbar.jsx @@ -60,7 +60,11 @@ class Toolbar extends React.Component {