Odd technical guidelines

IOS has always done a great job in mobile accessibility. Today, I will introduce you to the new accessibility features in iOS 13

This article is from Qiwu Weekly, written by An Jia, front-end development engineer of 360 Search Division, member of W3C CSS working group.

IOS has always done a great job of making mobile accessible. Added in iOS 13:

  • Voice control: This is a new assistive technology

  • Enable/disable multimedia auto – play in the system

  • New API: Makes it easier for developers to customize accessibility features

01

Voice control

When voice control is enabled, each activable element has a number next to it, which is displayed on an overlay. You can use these numbers to refer to the corresponding elements and manipulate them.

Voice control lacks an effective “quick start” introduction, so finding the correct voice command format can be a bit difficult. The following are the voice control commands tested successfully:

  • Display name: Change the overlay to display the name

  • Display numbers: Change the overlay to display numbers

  • Click 1: Click the first control on the screen

  • Click Application: Click the control labeled Application

  • Increment {name/number} : Increment adjuster

  • Decrement {name/number} : Decrement adjustable

  • Back to the home page

  • return

Voice controls are a great addition to the iOS accessibility suite.

It also simplifies the frictionless testing process.

As a developer, it can be a waste of time to keep turning VoiceOver on and off (to verify that tags fit); As an accessibility tester, I turn VoiceOver on and off more often. Voice control can greatly improve these situations.

Can speed up focus testing (WCAG 2.4.3). Any element that can be activated in SwitchControl can be activated in VoiceOver; Any element that can be activated in VoiceOver can be activated in SwitchControl. To test whether each item on the screen can be properly focused in VoiceOver and SwitchControl, voice control tests are much faster than SwitchControl tests.

When developers do accessibility testing, the two primary goals should be to ensure that each activable control is activated and has an appropriate descriptive name; Perform automated testing of accessibility functions. Voice control makes checking easier.

02

Disable multimedia auto – play

The ability to disable auto play media at the system level is a powerful feature for disabled users. For some time, though, many applications have supported this feature alone, especially those primarily used to display media, such as YouTube and Facebook.

This is directly related to WCAG 1.4.2 — Voice control: “If other audio is played at the same time, it will be difficult for people using screen reading software to hear the voice”. This setting allows users to avoid this situation.

In the code, you can say:

if UIAccessibility.isVideoAutoplayEnabled {

    // Autoplay annoying media

} else {

    // Don’t autoplay annoying media.

}

Copy the code

03

The new API

The new API

UIAccessibilityCustomActionHandler

For developing the org.eclipse.swt.accessibility iOS application, UIAccessibilityCustomAction is a powerful tool, it allows you to multiple operations associated with a goal to focus on, This is great for allowing VoiceOver or Switch Control users to perform actions that would normally be performed by gestures. Interested friends can see UIAccessibilityCustomAction

(https://developer.apple.com/documentation/uikit/uiaccessibilitycustomaction/handler).

04

The small knot

There are no groundbreaking accessibility changes in iOS 13, especially no significant VoiceOver update. However, there are some popular tools and solid iterative improvements that demonstrate Apple’s commitment to disabled users. In addition, voice control is a great new tool that should be part of every application development team’s testing process.

reference

https://www.deque.com/blog/new-in-ios-13-accessibility-voice-control-and-more/

Pay attention to our

World of you when not

Just be your shoulders

There is no


360 official technical official account

Technology of dry goods | | hand information activities

Empty,