Merge pull request #494 from sharelatex/as-main-role

Add main role
This commit is contained in:
Alasdair Smith 2018-04-25 09:45:17 +01:00 committed by GitHub
commit 4759097e49
2 changed files with 6 additions and 2 deletions

View file

@ -57,8 +57,9 @@ block content
include ./editor/share
!= moduleIncludes("publish:body", locals)
#ide-body(
main#ide-body(
ng-cloak,
role="main",
layout="main",
ng-hide="state.loading",
resize-on="layout:chat:resize",

View file

@ -56,7 +56,10 @@ block content
href
ng-click="showAll();"
) Show all
.content.content-alt.project-list-page(ng-controller="ProjectPageController")
main.content.content-alt.project-list-page(
ng-controller="ProjectPageController"
role="main"
)
- if(typeof(suppressSystemMessages) == "undefined")
.system-messages(
ng-cloak