Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add w3c message to home page #599

Merged
merged 5 commits into from
Apr 13, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions client/components/App/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ main.home-page.container {

main.home-page.container h1 {
border: none;
padding-bottom: 0;
}

.hero-section {
Expand Down Expand Up @@ -401,6 +402,34 @@ main.home-page.container h1 {
color: #0058b6;
}

.w3c-authorization-message {
background-color: #fff9ea;
display: flex;
padding: 1em;
}
.w3c-authorization-message i {
padding-right: 0.5em;
font-size: 25px;
font-style: normal;
}
.w3c-authorization-message em {
display: block;
font-style: normal;
font-size: 14px;
color: #85693D;
line-height: 1.3;
}
.w3c-authorization-message strong {
font-style: italic;
}
.w3c-authorization-message a {
font-weight: bold;
color: #85693D;
}
.w3c-authorization-message a:hover {
text-decoration: underline;
}

.right {
float: right;
}
Expand Down
33 changes: 32 additions & 1 deletion client/components/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,37 @@ const Home = () => {
</h1>
<div className="hero-copy-and-video">
<div className="hero-copy">
<p className="w3c-authorization-message">
<i aria-hidden="true">✨</i>
<em>
<strong>Note:</strong> This project is managed
by the{' '}
<a
target="_blank"
rel="noreferrer"
href="https://www.w3.org/community/aria-at/"
>
ARIA-AT Community Group
</a>{' '}
in coordination with the{' '}
<a
target="_blank"
rel="noreferrer"
href="https://www.w3.org/WAI/ARIA/task-forces/practices/"
>
Authoring Practices Task Force
</a>{' '}
of the{' '}
<a
target="_blank"
rel="noreferrer"
href="https://www.w3.org/WAI/ARIA/"
>
ARIA Working Group
</a>
. The W3C staff contact is Daniel Montalvo.
</em>
</p>
<p>
Today, different screen readers often yield
conflicting experiences when presenting a web page,
Expand Down Expand Up @@ -55,7 +86,7 @@ const Home = () => {
<iframe
src="https://player.vimeo.com/video/651279608?h=45aefd646f&byline=false&dnt=true&portrait=false"
width="640"
height="360"
height="340"
frameBorder="0"
allow="autoplay; fullscreen; picture-in-picture"
allowFullScreen
Expand Down