Accessibility from the Publisher\'s Perspective

31
Accessibility From the publisher’s perspective Chris Rogers Penguin Books UK

description

Technical presentation on eBook accessibility from Tools of Change Frankfurt 2012.

Transcript of Accessibility from the Publisher\'s Perspective

Page 1: Accessibility from the Publisher\'s Perspective

Accessibility

From the publisher’s perspective

Chris RogersPenguin Books UK

Page 2: Accessibility from the Publisher\'s Perspective

• Fulfil our corporate social responsibility

• Fulfil any legal obligations• Take advantage of any untapped

markets (definitely a big bonus)

Page 3: Accessibility from the Publisher\'s Perspective

• Everyone's• Starts with the people who understand the

technology• Our responsibility to educate colleagues in

Editorial, Design (even Sales)

Page 4: Accessibility from the Publisher\'s Perspective

• Ensure that our eBooks are created in the most accessible way possible

• This is both a design issue and a technical issue

• I’ll be talking mostly about the technical issues

Page 5: Accessibility from the Publisher\'s Perspective

• What do we mean by that?• Assistive technologies generally rely on

hierarchy of elements to determine document structure

i.e.• <h1-5> then <p> then inline elements such as

<em>, <strong> etc.

Page 6: Accessibility from the Publisher\'s Perspective

• Don’t use a <p> if you really mean <h5>• Don’t use <i> if you really mean <em>, don’t

use <b> if you really mean <strong>

• <i> and <b> are presentational elements and have no semantic meaning

Page 7: Accessibility from the Publisher\'s Perspective

• CSS styling means nothing to screen readers• Meaning should be conveyed via mark-up, not

style• An excellent example is feature boxes:

Page 8: Accessibility from the Publisher\'s Perspective

• Bad example:

• Feature box has no indication that it is separate from the main reading flow

Page 9: Accessibility from the Publisher\'s Perspective

• A better way:

• Heading indicates that it is in addition to main content.

• Heading is an <h5>, not a <p>

Page 10: Accessibility from the Publisher\'s Perspective

• Another example – charts and graphs• Very difficult subject – no good way to make

charts totally accessible without also providing the data in tabular form

• But we can make them a little better:

Page 11: Accessibility from the Publisher\'s Perspective

• Bad example:• Data-sets

differentiated by colour can be difficult to read for the colour-blind

Page 12: Accessibility from the Publisher\'s Perspective

• To a colour-blind person it could look like this:

Page 13: Accessibility from the Publisher\'s Perspective

• A better way to do it:

• Combines colour and pattern

Page 14: Accessibility from the Publisher\'s Perspective

• Links nicely with using the correct structural/semantic elements

• Don't use lower level elements with style to convey heading styles

• Don't use style on text to convey meaning

Page 15: Accessibility from the Publisher\'s Perspective

• For example:

• “I am really MAD that this sentence isn’t accessible!”<p>I am really <span class=‘angryRed’>MAD</span> that

this sentence isn’t accessible</p>

Page 16: Accessibility from the Publisher\'s Perspective

• A better way:

• “I am really MAD that this sentence isn’t accessible!”<p>I am really <strong class=‘angryRed’>MAD</strong>

that this sentence isn’t accessible</p>

<p>I am really <strong class=‘angryRed’>MAD</strong>

that this sentence isn’t accessible</p>

Page 17: Accessibility from the Publisher\'s Perspective

Basic rule

If you removed the CSS, and just used the basic styling of the ebook-reader, would it still be readable and make

sense?

Page 18: Accessibility from the Publisher\'s Perspective

All images must have appropriate alt attributes!

Page 19: Accessibility from the Publisher\'s Perspective

• When a screen-reader encounters an image, it reads out the alt attribute

• Keep in mind the alt attribute is meant as a replacement for the image

• Sometimes the meaning of the image is more important than the image itself…

<img src=‘../image/car.jpg’ alt=‘A picture of a red car”/>

Page 20: Accessibility from the Publisher\'s Perspective

• For example:

<img... alt=‘A triangular sign with an exclamation mark in the centre’/>

Page 21: Accessibility from the Publisher\'s Perspective

• For example:

<img... alt=‘WARNING!’/>

Page 22: Accessibility from the Publisher\'s Perspective

• The text in the letter is part of the story.

• It is more important to the reader than the image itself

<img... alt=‘Are you a grumptious honker or a talent tooter? Come and try out for this yearly’s pan-troll-mime!’/>

Page 23: Accessibility from the Publisher\'s Perspective

THE DREADED TABLES!•There is no good way to display large, complex tables on today’s generation of e-readers

Page 24: Accessibility from the Publisher\'s Perspective

Fixed-layout ebooks•Too many different formats•Hard enough to create in the first place•Still, all the rules previously mentioned can be applied

Page 25: Accessibility from the Publisher\'s Perspective

Poetry•Will require text-to-speech facilities to improve•Very difficult in ebooks, as proper visual formatting often requires hacks

Page 26: Accessibility from the Publisher\'s Perspective

• EPUB3!• epub:type• enhanced metadata support• Full HTML5 support will give access to new

semantic/structural elements• Full SMIL (Read Aloud) support, you'll even be able to

indicate the correct inflections for words • All these things will give screen readers the ability to

read books more and more realistically

Page 27: Accessibility from the Publisher\'s Perspective

• epub:describedat could give us a good way of providing long-form backup content for images

Page 28: Accessibility from the Publisher\'s Perspective

• There is a huge amount that can potentially be done to make ebooks more and more accessible

• Time, technical expertise and money are always mitigating factors

• Often ebooks will be created out of house, what do you do then?

Page 29: Accessibility from the Publisher\'s Perspective

• Always QA your ebooks with accessibility in mind

• Brief your conversion suppliers carefully to ensure they are doing the right things

• Making your ebooks accessible shouldn’t cost a lot, as long as it is built into your workflow

• The advantages outweigh the disadvantages

Page 31: Accessibility from the Publisher\'s Perspective

[email protected]• @fullcapstwit• #eprdctn hour, Wednesdays 4pm GMT