Ver código fonte

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

Add main role
Alasdair Smith 8 anos atrás
pai
commit
4759097e49

+ 2 - 1
services/web/app/views/project/editor.pug

@@ -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",

+ 4 - 1
services/web/app/views/project/list.pug

@@ -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