What you're about to read may look and feel like a typical online comic but take a closer look and explore the different reading modes, built for an enhanced, accessible reading experience.
What you're about to read may look and feel like a typical online comic but take a closer look and explore the different reading modes, built for an enhanced, accessible reading experience.
The tab
key on the keyboard lets users navigate between panels in your comic strip. The panels in focus is highlighted with a thickened frame border.
The frame in focus features text specifically written for screen readers. It describes the setting, the characters speaking, the dialogue, along with anything else necessary to convey the meaning of the frame contents.
The comic includes semantic HTML5 markup that includes WAI-ARIA attributes to aid assistive technology.
Each frame contains the source content for both full-colour and uncoloured artwork, with a “High contrast” setting that switches between them. We recommend uncoloured, line-art artwork as a high contrast option for users with visual impairments.
If there's too much visual stimulation within the comic frame, the closed captions feature provides a script of each frame. We include the name of each character speaking, along with an avatar of that character.
The speaking subject is highlighted to aid identifying who the closed caption belongs to.
Closed captions supports tab focus, left and right button and also arrows.
While in closed caption mode, you can control how large or small you prefer the font.
Each speech bubble is positioned on top of the artwork using font-face and custom comic book fonts.
Because the text is rendered on the page as text, it means we can translate. You're welcome! Or should I say... ¡De nada!
This is the largest technical challenge posed to the project. While it doesn't work well all the time, it does work and we think that's pretty remarkable.
Because not every language reads left-to-right like English and French, the comic layout artwork and bubbles inverses to read right-to-left upon translated where needed.
Using javascript, SVG and a lot of math, each speech bubble is assembled on the fly, based around the width and height of the text contained within. Each bubble accepts parameters that set the position of the spike (left, center or right), the direction the spike curls (left, center or right) and how long the spike is (short, normal, long, variable). Because it's constructed on the fly, it can be moved, altered or resized.
CSS Grid and media queries adapt the layout of the comic to suit any screen size. (Say hello to mobile-friendly comics!)
Using the picture element and source queries, we serve the correct size and density to suit the device. (No more fuzzy iPhone toons.)
Each image is only fetched from the server once the page has loaded, ensuring speed and performance come first.
Here's a typical example of how an online comic author might present their comic strip.
Little to no information provided in the alt
text or title
.
A high resolution image serving all screen and device sizes. This is often a high resolution asset ranging from 900 - ~3500px wide and file size anywhere between 100kb - 2.5mb.
No keyboard ARIA information for assistive technologies.
No closed captions for assistive technology to convey the speech bubbles to text.
No right-to-left reading mode, or left-to-right reading mode.
No way to translate text.
Sources: Opens in a new window: www.penny-arcade.com, Opens in a new window: www.pvponline.com, Opens in a new window: www.explosm.net
Credits: Opens in a new window: www.deadtoride.com, Opens in a new window: www.paulspencer.net.au, Opens in a new window: www.webofink.com.au
Helpful links: