A Pen by Marcy Sutton on CodePen.
Ahoy, engineering team!
I'd like to share some best practices around accessibility testing: what to look for, how to test it, how to balance the work with other priorities.
The important things to remember are that:
- Accessibility is about access for disabled people. Marginalizing their experience forever is continuous discrimination, full stop.
- The best time to start is now. The earlier you address it the better, but you can always iterate as you move forward.
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am marcysutton on github. | |
* I am mazzafied (https://keybase.io/mazzafied) on keybase. | |
* I have a public key ASAqE9vmg_MMg22bQ7M91ivpYu17k9Z3dVtG_6RLXUsn1Qo | |
To claim this, I am signing this object: |
This file contains hidden or 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
import React from "react" | |
import { Link } from "gatsby" | |
import Layout from "../components/layout" | |
import SEO from "../components/seo" | |
import "./styles.scss" | |
const SecondPage = () => ( | |
<Layout> | |
<SEO title="Page two" /> |
- Make accessibility part of it
- Iterate, iterate, iterate!
- Refer to WCAG and the ARIA Authoring Practices
- Awareness
- Design and UX
// What is the nature of the issue? Which browser and/or Assistive Technology?
// Step-by-step instructions explaining how to reproduce the problem. Environment required, explicit identification of the component in question
// A set of assumptions which, when tested, verify that the accessibility requirement was met.
This file contains hidden or 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
module.exports = function (grunt) { | |
'use strict' | |
require('load-grunt-tasks')(grunt) | |
grunt.initConfig({ | |
mochaTest: { | |
test: { | |
options: { |
This file contains hidden or 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
var jsdom = require('jsdom'); | |
// Some html page | |
var html = [ | |
'<html>', | |
'<body>', | |
'<p>An image without an alt tag! <img src="some.jpg" /></p>', | |
'<h2>Not an h1</h2>', | |
'<h5>blabla</h5>', | |
'<h4></h4>', |
NewerOlder