Skip to content

Commit

Permalink
Fix accessibiliity isues.
Browse files Browse the repository at this point in the history
  • Loading branch information
theruther4d committed Jul 24, 2021
1 parent 4dafbd8 commit 1def9bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export function Footer() {
<input
ref={input}
className="email"
aria-label="copy my email address"
value={address}
onChange={function preventChange() {}}
onClick={onSelect}
Expand Down
2 changes: 2 additions & 0 deletions src/hero/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export function Hero() {
href="https://blog.codepen.io/2013/08/23/josh-rutherford-gets-a-job-on-codepen/"
rel="noreferrer"
target="_blank"
tabIndex={showMore ? undefined : -1}
>
I left my design job in Arkansas for a development gig at a startup
in San Francisco
Expand All @@ -60,6 +61,7 @@ export function Hero() {
literature.{" "}
<button
className="link"
tabIndex={showMore ? undefined : -1}
onClick={function toggle() {
setShowMore((showing) => !showing);
}}
Expand Down

1 comment on commit 1def9bd

@vercel
Copy link

@vercel vercel bot commented on 1def9bd Jul 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.