forked from marcysutton/js-a11y-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marcy Sutton
committed
Jul 7, 2019
1 parent
fdadcd9
commit eaf83a5
Showing
18 changed files
with
191 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from "react" | ||
|
||
import Layout from '../components/layout' | ||
import SEO from '../components/seo' | ||
|
||
import { Heading } from "grommet" | ||
|
||
const PageTwo = () => ( | ||
<Layout> | ||
<SEO title="Home" keywords={['javascript', 'accessibility', 'react']} /> | ||
<div style={{ padding: `1em` }}> | ||
<Heading level="2" margin="none">Page 2</Heading> | ||
</div> | ||
</Layout> | ||
) | ||
|
||
export default PageTwo | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,115 @@ | ||
import SlideLayout from "../templates/slide" | ||
import Slide from "../templates/slide" | ||
import ImageSlide from "../templates/image-slide" | ||
|
||
<SlideLayout> | ||
<Slide> | ||
|
||
# Accessibility in JavaScript Applications | ||
|
||
</SlideLayout> | ||
</Slide> | ||
|
||
--- | ||
|
||
<SlideLayout> | ||
<Slide> | ||
|
||
## Beep | ||
## Who is Marcy Sutton? | ||
|
||
</SlideLayout> | ||
<div style="position: relative; margin:0 auto; max-width: 300px;"> | ||
<img src="/gatsby-icon.png" alt="Gatsby" style="position:absolute; left: -200px; max-height: 130px; top:60px;" /> | ||
<img src="/marcysutton-sketch.png" alt="Sketch of Marcy" style="max-height: 400px; margin-bottom: 200px;" /> | ||
<img src="/a11y-octopus.png" alt="A11y Octopus" style="position:absolute; right: -250px; top: 60px; max-height: 180px;" /> | ||
<img src="/angular-logo.png" alt="Angular" style="position:absolute; top: 300px; left: 50%; margin-left: -50px; max-height: 120px;" /> | ||
</div> | ||
|
||
</Slide> | ||
|
||
--- | ||
|
||
## What we'll cover | ||
|
||
- Accessibility debugging | ||
|
||
|
||
- Accessibility in JavaScript apps | ||
- Focus management | ||
- Announcements | ||
- Semantic HTML | ||
- Unobtrusive motion | ||
- Progressive enhancement | ||
|
||
|
||
- Accessibility units | ||
- Accessible pages | ||
- Q & A | ||
|
||
--- | ||
|
||
<Slide> | ||
|
||
## Inaccessible web applications | ||
|
||
</Slide> | ||
|
||
--- | ||
|
||
<ImageSlide | ||
heading="Examples of inaccessible web applications: 1" | ||
imageSrc="/user-inyerface.jpg" | ||
imageAlt="User in-yer-face" | ||
/> | ||
|
||
--- | ||
<ImageSlide | ||
heading="Examples of inaccessible web applications: 2" | ||
imageSrc="/slack-focus-trap.png" | ||
imageAlt="Slack JSON file viewer" | ||
/> | ||
|
||
--- | ||
|
||
<Slide> | ||
|
||
## Better web applications | ||
|
||
</Slide> | ||
|
||
--- | ||
|
||
<ImageSlide | ||
heading="Examples of better web applications: 1" | ||
imageSrc="/blackboard.png" | ||
imageAlt="Blackboard Learn application" | ||
/> | ||
|
||
--- | ||
|
||
<ImageSlide | ||
heading="Examples of better web applications: 2" | ||
imageSrc="/facebook-a11y-toolbar.jpg" | ||
imageAlt="Facebook's accessibility toolbar" | ||
/> | ||
|
||
--- | ||
|
||
<Slide> | ||
|
||
## Install demos & tools | ||
|
||
### This demo app/slides | ||
|
||
- https://github.com/marcysutton/js-a11y-workshop | ||
|
||
### Tools | ||
|
||
- [axe browser extensions](https://deque.com/axe) | ||
- [Accessibility Insights](http://accessibilityinsights.io) | ||
- [NVDA](https://www.nvaccess.org/download/) (Windows only) | ||
|
||
</Slide> | ||
|
||
--- | ||
|
||
<Slide> | ||
|
||
## Accessibility debugging | ||
|
||
</Slide> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export default { | ||
colors: { | ||
text: '#000', | ||
background: '#fff', | ||
link: '#005a9b', | ||
heading: '#000', | ||
quote: '#000', | ||
pre: '#f0f', | ||
preBackground: '#333', | ||
code: '#f0f', | ||
codeBackground: 'transparent', | ||
}, | ||
css: { | ||
justifyContent: 'start' | ||
}, | ||
fontSizes: [ | ||
'0.75em', '1em', '1.5em', '2em', '3em' | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from "react" | ||
|
||
const ImageSlide = ({ heading, imageSrc, imageAlt }) => ( | ||
<> | ||
<span className="visually-hidden">{heading}</span> | ||
|
||
<img | ||
src={imageSrc} | ||
alt={imageAlt} | ||
style={{ | ||
height: `100%`, | ||
verticalAlign: `bottom`, | ||
width: `100%`, | ||
}} | ||
/> | ||
</> | ||
) | ||
|
||
export default ImageSlide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.