mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-03 02:54:19 -07:00
Make the accessibility checkers happy (#129)
* Make the accessibility checkers happy * Include a lang specification in the `<html>` tag. * reorder `<h#>` header tags. The `<Aside` to from `<h1>`, `<h2>` to be `<h2>`, `<h3>`. This is because trusswork's `<Footer>` uses and `<h4>` and the accessibility checkers complain it was skipping from `<h2>` -> `<h4>` * Change `<aria-details>` to `<aria-label>` for milestone list * Update J40Header.tsx 80 column line
This commit is contained in:
parent
760edb4feb
commit
9155326775
5 changed files with 39 additions and 39 deletions
|
@ -57,7 +57,7 @@ const J40Header = () => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<Helmet>
|
||||
<Helmet htmlAttributes={{lang: intl.locale}}>
|
||||
<meta charSet="utf-8"/>
|
||||
<title>{title}</title>
|
||||
</Helmet>
|
||||
|
@ -67,7 +67,8 @@ const J40Header = () => {
|
|||
className={'j40-sitealert'}>
|
||||
<b>Welcome to Justice40's Temporary Home</b> While Justice40 gets
|
||||
up and running, we are using GitHub Pages as a temporary website
|
||||
host. To learn more about GitHub Pages, click <a href="https://pages.github.com/">here</a>.
|
||||
host. To learn more about GitHub Pages, click
|
||||
<a href="https://pages.github.com/">here</a>.
|
||||
</SiteAlert>
|
||||
<Header
|
||||
basic={true} role={'banner'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue