What’s new in WCAG 2.2

A presentation at A11y Camp in November 2022 in Australia by Allison Ravenhall

Slide 1

Slide 1

What’s new in WCAG 2.2 Candidate Recommendation

Allison Ravenhall, @RavenAlly on Twitter

Slide 2

Slide 2

9 new success criteria - categorisations

2 x A, 5 x AA, 2 x AAA

5 x Operable, 4 x Understandable 3 x Navigable

2 x Input Modalities, 1 x Predictable, 3 x Input Assistance

Slide 3

Slide 3

Redundant Entry (Level A)

Slide 4

Slide 4

Shipping address is the same as billing address is the most common example of Redundant Entry.

When a form or process captures the same information more than once, enable automated methods to reuse the information: autofill, list of previously used data, checkbox to confirm reuse, etc.

Slide 5

Slide 5

Consistent Help (Level A)

Slide 6

Slide 6

When you have help channels, make sure they're presented widely and consistently across the site

Examples of help channels

• Phone number & hours

• Contact form

• Email address

• Chatbot

• Human messaging

• Frequently Asked Questions

• Support / help pages

• Social media channels

Slide 7

Slide 7

Focus Not Obscured (Level AA & AAA)

Slide 8

Slide 8

The chat window partially obscures a list of links in the footer. One of the links has a keyboard focus outline displayed.

Slide 9

Slide 9

Closeup screenshot of a website that use a floating non-modal chat window

To meet level AA, focus location may be partially obscured but not totally hidden by floating content.

To meet level AAA, focus location may not be obscured by floating content at all.

Slide 10

Slide 10

Dragging Movements (Level AA)

Slide 11

Slide 11

Isn’t this covered in 2.5.1 Pointer Gestures?

No, Pointer Gestures is scoped to path-based movements only, and dragging is not path-based.

Slide 12

Slide 12

Is meeting 2.1.1 Keyboard good enough?

No, this is specifically for pointer interfaces.

Slide 13

Slide 13

Screenshot of Google maps desktop web experience in sighted keyboard navigation mode

An example of an experience that works well for keyboard, but still requires complex swiping movements for pointer-based interfaces.

Slide 14

Slide 14

Screenshot of kanban board containing 4 columns of cards

An example of an experience that typically leans heavily on drag-and-drop interactions but can be augmented with context menu single-clicks.

Slide 15

Slide 15

Screenshot of a backlog list containing one column of items

An example of an experience that typically leans heavily on drag-and-drop interactions but can be augmented with context menu single-clicks.

Slide 16

Slide 16

Target Size (Minimum) (Level AA)

Slide 17

Slide 17

Minimum target size

Is 24 x 24px

Slide 18

Slide 18

If targets are smaller than 24 x 24, that's permitted, but

The target needs to have an exclusive offset of 24px in all directions to reduce accidental incorrect taps.

Slide 19

Slide 19

The nature of the target offset calculation

…means the exclusive area occupied by a target grows as a target size shrinks.

24 x 24px button has no exclusion area.

12 x 12px button has 12px offset.

6 x 6 px button has 18px offset.

Slide 20

Slide 20

Target size exemptions

• Inline elements

• Browser-defined elements

• Another conformant element that performs the same action

• Size or spacing is essential e.g. map pins

Slide 21

Slide 21

Accessible Authentication (Level AA & AAA)

Slide 22

Slide 22

The intent of accessible authentication is

Make it possible to authenticate without remembering, transcribing, or manipulating any information.

Slide 23

Slide 23

Alternate conformant authentication methods

• Biometrics

• Common identifiers: Name, email, phone number

• USB tokens

• Authentication links

• 3rd party login via OAuth

• WebAuthn (device authentication)

Slide 24

Slide 24

Options to make traditional username-password entry conformant

Provide support for password, one-time code entry

• Copy-paste

• Password manager integration

• Browser autofill

Slide 25

Slide 25

Additional authentication methods (AA only)

• Recognising generic objects

• Identifying images, audio, or video provided by the user

Slide 26

Slide 26

2.4.7 Focus Visible (re-categorised from level AA to A)

Slide 27

Slide 27

No change to Focus Visible

Like it says on the box: Visible keyboard focus

Slide 28

Slide 28

Focus Appearance (Level AA)

Slide 29

Slide 29

The default focus appearance scenario

• Solid outline

• Focused vs. unfocused contrast ≥ 3:1

• Adjacent contrast ≥ 3:1

Slide 30

Slide 30

Default focus appearance contrast checks

Focus colour : Outside colour ≥ 3:1 (Adjacent #1)

Focus colour : Inside colour ≥ 3:1 (Adjacent #2)

Focus colour : Unfocussed colour ≥ 3:1

Slide 31

Slide 31

The location of the solid outline can affect the adjacent contrast calculations

White button with a solid yellow focus outline that hugs the button fails the adjacent-inside check.

White button with a solid yellow focus outline that has some space between the focus line and the button edge passes.

Slide 32

Slide 32

Focus styles are often more complex than a solid outline though

Slide 33

Slide 33

Requirements for focus styles that aren't a solid outline

• Minimum size (2 options)

• Focused vs. unfocused contrast ≥ 3:1

• Adjacent contrast ≥ 3:1 OR focus width ≥ 2px

Slide 34

Slide 34

Calculating the minimum focus area

Focus area must be ≥ 1px solid border

Example for a 200 x 50px button: 200 + 200 + 50 + 50 - 4 = 496px minimum focus area

Slide 35

Slide 35

Supporting documentation is vague on calculating minimum focus area for irregular shapes

Examples: Heart, star, thumbs up

Slide 36

Slide 36

Another way to calculate a focus area

Focus ≥ 4px width along shortest side

Slide 37

Slide 37

All the new things

Accessible Authentication (AA, AAA)

Consistent Help (A)

Dragging Movements (AA)

Focus Appearance (AA)

Focus Not Obscured (AA, AAA)

Focus Visible (AA → A)

Redundant Entry (A)

Target Size (Minimum) (AA)