diff options
author | Steve Sanderson <SteveSandersonMS@users.noreply.github.com> | 2022-08-03 18:43:15 +0300 |
---|---|---|
committer | Steve Sanderson <SteveSandersonMS@users.noreply.github.com> | 2022-08-04 15:51:50 +0300 |
commit | 5f01be1a9bbff7454601536bb761dd76deb053bc (patch) | |
tree | a786110f96c9ccb008e201ef62881ed55c55c760 | |
parent | 3aaaa4155cb2ec473f2eadda85bbc15703ce76a6 (diff) |
Define 'main' landmarks. Fixes numerous reported issues.
https://github.com/dotnet/aspnetcore/issues/42341
https://github.com/dotnet/aspnetcore/issues/42366
https://github.com/dotnet/aspnetcore/issues/42368
-rw-r--r-- | src/content/Angular-CSharp/ClientApp/src/app/app.component.html | 4 | ||||
-rw-r--r-- | src/content/React-CSharp/ClientApp/src/components/Layout.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/content/Angular-CSharp/ClientApp/src/app/app.component.html b/src/content/Angular-CSharp/ClientApp/src/app/app.component.html index 7173845..62df2d7 100644 --- a/src/content/Angular-CSharp/ClientApp/src/app/app.component.html +++ b/src/content/Angular-CSharp/ClientApp/src/app/app.component.html @@ -1,6 +1,6 @@ <body> <app-nav-menu></app-nav-menu> - <div class="container"> + <main class="container"> <router-outlet></router-outlet> - </div> + </main> </body> diff --git a/src/content/React-CSharp/ClientApp/src/components/Layout.js b/src/content/React-CSharp/ClientApp/src/components/Layout.js index 4d110d9..327b8bb 100644 --- a/src/content/React-CSharp/ClientApp/src/components/Layout.js +++ b/src/content/React-CSharp/ClientApp/src/components/Layout.js @@ -9,7 +9,7 @@ export class Layout extends Component { return ( <div> <NavMenu /> - <Container> + <Container tag="main"> {this.props.children} </Container> </div> |