Editoria11y
Editoria11y (editorial ally) is a user-friendly accessibility “auto-correct” checker that addresses three critical needs for content authors:
- It runs automatically. Modern spellcheck works so well because it is always running; put spellcheck behind a button and few users remember to run it!
- It focuses exclusively on straightforward issues a content author can easily understand and easily fix. Yes; comprehensive testing should be a key part of site creation, but if a tool is going to run automatically on every page, it will do more harm than good if it is alerting on issues editors cannot fix.
- It runs in context. Modern content management systems often assemble pages from many separately-edited blocks, widgets and elements. Only a fully-assembled “page” can be checked for things like the header outline order.
Try a clickable demo of what a logged-in author would experience.
All included tests
- Headings
- Skipped heading levels
- Empty headings
- Very long headings
- Suspiciously short blockquotes that may actually be headings
- All-bold paragraphs with no punctuation that may actually be headings
- Text alternatives
- Images without an alt element
- Images with an empty alt element (flagged for manual review)
- Images with a filename as alt text
- Images with very long alt text
- Alt text that contains redundant text like “image of” or “photo of”
- Video embeds, reminding the user to add closed captions
- Audio embeds, reminding the user to provide a transcript
- Social media embeds, reminding the user to provide alt elements
- Embedded visualizations that usually require a text alternative
- Meaningful links
- Links with no text
- Links titled with a filename
- Links only titled with only generic text: “click here,” “learn more,” “download,” etc.
- Links that open in a new window without an external link icon
- Images in links with alt text that appears to be describing the image instead of the link destination
- General content quality assurance
- Lists made from asterisks, numbers and letters rather than list elements
- AVOID LOTS OF CAPS LOCK TEXT
- Tables without headers
- Tables with empty header cells
- Tables with document headers (“Header 3”) instead of table headers
- Links to PDFs and other documents, reminding the user to test the download for accessibility or provide an alternate, accessible format
- Suspiciously short blockquotes that may not be block quotes.
- Embedded videos, reminding the user to add closed captions
- Embedded audio, reminding the user to provide a transcript
- Embedded social media, reminding the user to check their social media content as well
Recent changes
Major changes in version 2.x:
- Content editors can now hide (and restore) “manual check” alerts.
- When connected to a cloud API, “manual check” alerts can be marked as OK for all users, and results can be sent to a site-wide dashboard.
- Additional theme variations and the ability to insert custom colors.
- Tips extensively rewritten; external links to Princeton content removed.
- The checker can now scan within shadow components.
- Removing the jQuery dependency and rewriting tests doubled performance.
View full change log.
Installation and configuration
If possible, use a turnkey integration:
To build your own implementation, load a local copy (or a CDN version) of “editoria11y.min.js” and “editoria11y.min.css,” and then create a new “Ed11y” instance:
<link href="/PATH/TO/YOUR/COPY/editoria11y.min.css" rel="stylesheet">
<script src="/PATH/TO/YOUR/COPY/editoria11y.min.js"></script>
<script>
const ed11y = new Ed11y({
// options,
});
</script>
View documentation and configuration tips.
Editoria11y is maintained by John Jameson, and is provided to the community thanks to the Digital Accessibility initiatives at Princeton University’s Office of Web Development Services
Acknowledgements
Editoria11y’s JavaScript began as a fork of the Sa11y library, which was created by Digital Media Projects, Computing and Communication Services (CCS) at Toronto Metropolitan University. The libraries share most tests, and our teams work together on new features.
Sa11y itself began as a fork of Tota11y by Khan Academy.