diff options
author | Mathieu Suen <mathieu.suen@sonarsource.com> | 2023-02-01 16:37:22 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-02-03 20:02:53 +0000 |
commit | a514d3cd1692c97ff29c5aa48366d957cfdbb9b8 (patch) | |
tree | feb1e717987795f1811a9af68b98260eb414da45 /server/sonar-web/src/main/js/apps/coding-rules | |
parent | 87463757bd09191d2464b2f3778cf98411179fd0 (diff) | |
download | sonarqube-a514d3cd1692c97ff29c5aa48366d957cfdbb9b8.tar.gz sonarqube-a514d3cd1692c97ff29c5aa48366d957cfdbb9b8.zip |
SONAR-18381 Improve landmark and heading level
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules')
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx | 4 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/App-test.tsx.snap | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx index 95f89618efb..66e7210d3b2 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx @@ -602,7 +602,7 @@ export class App extends React.PureComponent<Props, State> { )} </ScreenPositionHelper> - <div className="layout-page-main"> + <main className="layout-page-main"> <div className="layout-page-header-panel layout-page-main-header"> <div className="layout-page-header-panel-inner layout-page-main-header-inner"> <div className="layout-page-main-inner"> @@ -673,7 +673,7 @@ export class App extends React.PureComponent<Props, State> { </> )} </div> - </div> + </main> </div> </> ); diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/App-test.tsx.snap b/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/App-test.tsx.snap index 59f49c690c4..58ab4ac91cd 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/App-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/App-test.tsx.snap @@ -205,7 +205,7 @@ exports[`should render correctly: loaded 1`] = ` > <Component /> </ScreenPositionHelper> - <div + <main className="layout-page-main" > <div @@ -330,7 +330,7 @@ exports[`should render correctly: loaded 1`] = ` total={0} /> </div> - </div> + </main> </div> </Fragment> `; @@ -360,7 +360,7 @@ exports[`should render correctly: loading 1`] = ` > <Component /> </ScreenPositionHelper> - <div + <main className="layout-page-main" > <div @@ -389,7 +389,7 @@ exports[`should render correctly: loading 1`] = ` > <ul /> </div> - </div> + </main> </div> </Fragment> `; |