accessibility & ui development

18
ACCESSIBILITY & UI DEVELOPMENT Charlie Perrins Friday, 18 January 13

Upload: charlie-perrins

Post on 15-Jan-2015

898 views

Category:

Technology


0 download

DESCRIPTION

Slides from talk given at Front End London meetup in January 2013. http://www.frontendlondon.co.uk

TRANSCRIPT

Page 1: Accessibility & UI Development

ACCESSIBILITY & UI DEVELOPMENT

Charlie Perrins

Friday, 18 January 13

Page 2: Accessibility & UI Development

postoffice.co.uk

Friday, 18 January 13

Page 3: Accessibility & UI Development

Enough waffle

• Accessibility requirements != constraints on complexity or beauty

• Accessibility ‘tips’ are often just good coding practice

• Be prepared to accommodate changes to your markup habits

• Automated testing also benefits

3

Friday, 18 January 13

Page 4: Accessibility & UI Development

Keyboard navigation

Friday, 18 January 13

Page 5: Accessibility & UI Development

Document heading order

5

Friday, 18 January 13

Page 6: Accessibility & UI Development

:hover, :focus, and :active

Friday, 18 January 13

Page 7: Accessibility & UI Development

tabindex

Friday, 18 January 13

Page 8: Accessibility & UI Development

tabindex

Friday, 18 January 13

Page 9: Accessibility & UI Development

tabindex

Friday, 18 January 13

Page 10: Accessibility & UI Development

tabindex

Friday, 18 January 13

Page 11: Accessibility & UI Development

display: none;

Friday, 18 January 13

Page 12: Accessibility & UI Development

Display: none?

• Control the focus of your document– It’s OK to use display:none to hide your

content if you correctly control the focus so that the next element in the tab order is the right content for the user in context.

Friday, 18 January 13

Page 13: Accessibility & UI Development

BIG text

13

Friday, 18 January 13

Page 14: Accessibility & UI Development

BIG text

14

Friday, 18 January 13

Page 15: Accessibility & UI Development

:pseudo or not :pseudo?

Friday, 18 January 13

Page 16: Accessibility & UI Development

Arrow keys

Friday, 18 January 13

Page 17: Accessibility & UI Development

Why abstract?

Friday, 18 January 13

Page 18: Accessibility & UI Development

A few references

• Accessible JS tools– http://hanshillen.github.com/jqtest

• Chromevox– http://www.chromevox.com/

• ARIA– http://www.w3.org/TR/wai-aria

Friday, 18 January 13