CIB' ACCESSIBILITY: WHAT IS IT? software accessibility - - PowerPoint PPT Presentation

cib
SMART_READER_LITE
LIVE PREVIEW

CIB' ACCESSIBILITY: WHAT IS IT? software accessibility - - PowerPoint PPT Presentation

CIB' saftware ACCESSIBILITY 101 (NOT ONLY) FOR LIBREOFFICE DEVELOPERS KATARINA BEHRENS CIB SOFTWARE GMBH BRUSSELS, 2/8/18 CIB' ACCESSIBILITY: WHAT IS IT? software accessibility [/k.ss..bl.t.i/]: The term


slide-1
SLIDE 1

KATARINA BEHRENS CIB SOFTWARE GMBH BRUSSELS, 2/8/18 ACCESSIBILITY 101 (NOT ONLY) FOR LIBREOFFICE DEVELOPERS

CIB'

saftware

slide-2
SLIDE 2

ACCESSIBILITY: WHAT IS IT?

accessibility [/æk.ˌsɛs.ə.ˈbɪl.ət.i/]: The term "accessibility" most often used in reference to specialized hardware or software, or a combination of both, designed to enable use of a computer by a person with a disability or impairment.

CIB'

software

slide-3
SLIDE 3

PUBLIC SERVICE ANNOUCEMENT IMPROVING A11Y IMPROVES USER EXPERIENCE FOR EVERYONE

(EVEN FOR USERS WITHOUT DISABILITIES)

slide-4
SLIDE 4

SO WHY DON'T WE A11Y?

  • We are lazy :-)
  • Taking the easy way out
  • Development budgets are tight
  • UX and a11y are secondary concerns
  • Development teams are not diverse
  • if no one around us has a11y needs ...

CIB'

software

slide-5
SLIDE 5

YES YOU CAN! (EVEN IF YOU DON'T CODE)

image source: knowyourmeme.com

CIB'

saftware

eAIICanDo t.

slide-6
SLIDE 6

4 SIMPLE STEPS TO BETTER A11Y

  • 1. USE MAGNIFYING GLASS
  • 2. POKE AT MNEMONIC|BUDDY LABELS
  • 3. EXERCISE TAB KEY
  • 4. IMPROVE A11Y OF NON-TEXTUAL CONTENT
slide-7
SLIDE 7

1 | 4 USE MAGNIFYING GLASS

slide-8
SLIDE 8

TRY INCREASING UI FONT SIZE

  • Less of an issue nowadays – no more fixed-size

widget layout

  • No more upper limit on UI font size (tdf#113444,

thanks to @Bernhard_CIB)

  • Menus accessible with expander if not fitting the

window (thanks to @quikee)

  • Tabs in Calc follow UI font size (tdf#113444, thanks

to @Bernhard_CIB)

  • before:

after:

CIB'

software

M{>H+’m‘5heet2|

SheetZ of 2

'Ö' l Screenshots

ü program

1

H{)H+|Sheet1|

Sheet 1 cf 1

1048576 rows,

'ö' 0 Screenshots

ü program

:

slide-9
SLIDE 9

2 | 4 IMPROVE KEYBOARD NAVIGATION: POKE AT MNEMONIC|BUDDY LABELS

slide-10
SLIDE 10

MNEMONIC LABEL (GTK) || BUDDY LABEL (QT)

  • Text in UI, labelling interactive widget (e.g.

combobox, spinbox)

  • What the screen reader reads
  • Highlight character („_Label“ or „&Label“)
  • Pressing ALT-L activates the interactive widget

mnemonic label interactive widget

CIB'

software

Add Bookmark

New narne

I I

— <—

[:] Hide With mndition

I I

slide-11
SLIDE 11

CHECK DIALOG'S MNEMONICS

  • Open dialog's .ui file in Glade
  • Does every interactive widget have a label?
  • Is the label associated with the interactive widget?
  • TDF tender to automate part of the process
  • detecting errors with a script
  • fixing them needs human interaction

CIB'

software

slide-12
SLIDE 12

3 | 4 IMPROVE KEYBOARD NAVIGATION: EXERCISE TAB KEY

slide-13
SLIDE 13

USE ONLY (SHIFT-)TAB AND ARROW KEYS TO NAVIGATE IN UI

  • F6 key to switch between UI frames ( menu →

toolbars → document → sidebar → menu )

  • TAB to travel between the widgets (SHIFT-

TAB to travel backwards)

  • Does every widget accept keyboard focus?
  • Is the order of traversal logical?

CIB'

software

slide-14
SLIDE 14

WIDGET PROPERTIES CONTROLLING KEYBOARD A11Y

  • Window::Get|SetStyle()
  • WB_TABSTOP:
  • accepts keyboard focus if T

ab key pressed

  • n previously focused widget
  • WB_DIALOGCONTROL:
  • set on top-level container, closed

navigation cycle within dialog | tabpage

  • 1st child gets focus again if T

ab key pressed on last child

CIB'

software

slide-15
SLIDE 15

WIDGET PROPERTIES CONTROLLING KEYBOARD A11Y

  • WB_CHILDDLGCTRL:
  • a container with children widgets (example:

extension manager)

  • 1st child gets focus if T

ab key pressed on previous widget

  • next widget gets focus if T

ab pressed on last widget

CIB'

software

slide-16
SLIDE 16

ASSORTED BUGS

  • tdf#102077: some Impress sidebar panels are

keyboard-trapped (no way to move keyboard focus to the next panel)

  • tdf#104861: extension manager is not

keyboard-accessible (hint: WB_CHILDDLGCTRL flag is wrong)

  • tdf#115117: conditional formatting manager

is not keyboard-accessible

CIB'

software

slide-17
SLIDE 17

4 | 4 IMPROVE A11Y OF NON-TEXTUAL CONTENT

slide-18
SLIDE 18

NON-TEXTUAL CONTENT BADLY EXPOSED TO ASSISTIVE TECHNOLOGIES

  • tdf#39558: inserted images have no alternate

text by default

  • and no obvious way to insert it
  • file name as the default alt text?
  • example of solution: MuseScore extension
  • an extension to insert MuseScore file as

image

  • in a11y-friendly way (with proper alt texts)

CIB'

software

slide-19
SLIDE 19

19

ANY QUESTIONS?

CIB'

software

n1emegenerator.net

slide-20
SLIDE 20

20

THANK YOU!

CIB'

saftware