Fix/react accessibility (#932)

This commit is contained in:
Charles F. Munat
2022-07-31 20:10:10 +12:00
committed by GitHub
parent ccc22bb968
commit 8882e52539
2 changed files with 9 additions and 5 deletions

View File

@@ -13,7 +13,11 @@
}
}
.App-header {
.App h1 {
font-size: 1.75rem;
}
.App-article {
background-color: #282c34;
min-height: 100vh;
display: flex;

View File

@@ -1,10 +1,10 @@
import logo from "./logo.svg";
import "./App.css";
import logo from "./logo.svg";
function App() {
return (
<div className="App">
<header className="App-header">
<div className="App" role="main">
<article className="App-article">
<img src={logo} className="App-logo" alt="logo" />
<h3>Welcome to React!</h3>
<a
@@ -15,7 +15,7 @@ function App() {
>
Learn React
</a>
</header>
</article>
</div>
);
}