Skip to content
This repository was archived by the owner on Aug 24, 2023. It is now read-only.

Commit eebaacb

Browse files
committed
fixed WAVE errors
1 parent 6a0b1ce commit eebaacb

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
defer="defer"
154154
src="//ebi.emblstatic.net/web_guidelines/EBI-Framework/v1.4/js/script.js"
155155
></script>
156-
156+
<h3 class="vf-u-sr-only">ELIXIR banner</h3>
157157
<section class="vf-u-fullbleed | vf-u-background-color-ui--grey--light">
158158
<div class="vf-body">
159159
<div

src/app/containers/ResourceDetails.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ class ResourceDetails extends React.Component {
248248
content="training, learning, competencies, competency-based training, learning outcomes"
249249
/>
250250
</MetaTags>
251-
<h2>{item.title}</h2>
251+
<h1>{item.title}</h1>
252252
<div className="vf-grid vf-grid__col-4">
253253
<div className="vf-grid__col--span-3">
254-
<h3>Overview</h3>
254+
<h2>Overview</h2>
255255
{item.description ? Parser(item.description) : ''}
256256

257257
{item.url ? (
@@ -279,7 +279,7 @@ class ResourceDetails extends React.Component {
279279
{/*{item.trainers ? Parser('<h3>Trainers</h3>' + item.trainers) : ''}*/}
280280

281281
<div>
282-
<h3>Associated competencies</h3>
282+
<h2>Associated competencies</h2>
283283
<p>
284284
This resource provides learning to support the development of
285285
the following competencies

src/app/containers/Root.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class Root extends Component {
145145
</Switch>
146146

147147
<section id="main-content-area" className="row" role="main">
148-
<main className="column">
148+
<div>
149149
<Switch>
150150
<ProtectedRoute
151151
condition={user.roles.includes('content_manager')}
@@ -315,7 +315,7 @@ class Root extends Component {
315315
<Route path="/login" component={Login} />
316316
<Route path="/" component={Frameworks} />
317317
</Switch>
318-
</main>
318+
</div>
319319
</section>
320320
{/* <Footer /> */}
321321
</SnackbarProvider>

0 commit comments

Comments
 (0)