Merge pull request #15760 from xnt/fix/main-landmark
fix(accessibility): Add main and complementary landmarks
This commit is contained in:
@ -118,7 +118,10 @@ export class Editor extends PureComponent {
|
|||||||
mode
|
mode
|
||||||
} = this.props;
|
} = this.props;
|
||||||
return (
|
return (
|
||||||
<div className={ `${ns}-editor` }>
|
<div
|
||||||
|
className={ `${ns}-editor` }
|
||||||
|
role='main'
|
||||||
|
>
|
||||||
<NoSSR onSSR={ <CodeMirrorSkeleton content={ content } /> }>
|
<NoSSR onSSR={ <CodeMirrorSkeleton content={ content } /> }>
|
||||||
<Codemirror
|
<Codemirror
|
||||||
onChange={ classicEditorUpdated }
|
onChange={ classicEditorUpdated }
|
||||||
|
@ -128,6 +128,7 @@ export class SidePanel extends PureComponent {
|
|||||||
<div
|
<div
|
||||||
className={ `${ns}-instructions-panel` }
|
className={ `${ns}-instructions-panel` }
|
||||||
ref='panel'
|
ref='panel'
|
||||||
|
role='complementary'
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<ChallengeTitle>
|
<ChallengeTitle>
|
||||||
|
Reference in New Issue
Block a user