View in English

  • Apple Developer
    • 시작하기

    시작하기 탐색

    • 개요
    • 알아보기
    • Apple Developer Program

    알림 받기

    • 최신 뉴스
    • Hello Developer
    • 플랫폼

    플랫폼 탐색

    • Apple 플랫폼
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    피처링

    • 디자인
    • 배포
    • 게임
    • 액세서리
    • 웹
    • 홈
    • CarPlay
    • 기술

    기술 탐색

    • 개요
    • Xcode
    • Swift
    • SwiftUI

    피처링

    • 손쉬운 사용
    • 앱 인텐트
    • Apple Intelligence
    • 게임
    • 머신 러닝 및 AI
    • 보안
    • Xcode Cloud
    • 커뮤니티

    커뮤니티 탐색

    • 개요
    • Apple과의 만남 이벤트
    • 커뮤니티 주도 이벤트
    • 개발자 포럼
    • 오픈 소스

    피처링

    • WWDC
    • Swift Student Challenge
    • 개발자 이야기
    • App Store 어워드
    • Apple 디자인 어워드
    • 문서

    문서 탐색

    • 문서 라이브러리
    • 기술 개요
    • 샘플 코드
    • 휴먼 인터페이스 가이드라인
    • 비디오

    릴리즈 노트

    • 피처링 업데이트
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • 다운로드

    다운로드 탐색

    • 모든 다운로드
    • 운영 체제
    • 애플리케이션
    • 디자인 리소스

    피처링

    • Xcode
    • TestFlight
    • 서체
    • SF Symbols
    • Icon Composer
    • 지원

    지원 탐색

    • 개요
    • 도움말
    • 개발자 포럼
    • 피드백 지원
    • 문의하기

    피처링

    • 계정 도움말
    • 앱 심사 지침
    • App Store Connect 도움말
    • 새로 추가될 요구 사항
    • 계약 및 지침
    • 시스템 상태
  • 빠른 링크

    • 이벤트
    • 뉴스
    • 포럼
    • 샘플 코드
    • 비디오
 

비디오

메뉴 열기 메뉴 닫기
  • 컬렉션
  • 전체 비디오
  • 소개

더 많은 비디오

  • 소개
  • 요약
  • 코드
  • 읽기 앱의 접근성 향상하기

    VoiceOver, 화면 말하기 등을 위한 강력한 읽기 경험을 선사하는 방법을 알아보세요. 직관적인 텍스트 선택, 줄과 단락 간의 명확한 탐색, 개별 요소와 여러 페이지에 걸친 끊김 없는 읽기를 제공하는 방법을 살펴보세요.

    챕터

    • 0:01 - Introduction
    • 1:26 - Characteristics
    • 3:45 - Standard views
    • 14:05 - Custom text

    리소스

    • accessibilityNextTextNavigationElement
    • editCategory
    • accessibilityLinkedGroup(id:in:)
    • causesPageTurn
    • UITextInput
    • Accessibility for UIKit
      • HD 비디오
      • SD 비디오

    관련 비디오

    WWDC19

    • Creating an Accessible Reading Experience
  • 비디오 검색…
    • 7:29 - Link text elements together with navigation APIs

      // Link text elements together with navigation APIs
      
      import UIKit
      
      class TravelGuidePageController: UIViewController {
      
          var paragraphs: [TravelGuideParagraph]
      
          func configureNavigationElements() {
              for (index, paragraph) in paragraphs.enumerated() {
                  if index + 1 < paragraphs.count {
                      paragraph.accessibilityNextTextNavigationElement = paragraphs[index + 1]
                  }
                  if index - 1 >= 0 {
                      paragraph.accessibilityPreviousTextNavigationElement = paragraphs[index - 1]
                  }
              }
          }
      }
    • 7:59 - Link text elements together with a linked group

      // Link text elements together with a linked group
      
      import SwiftUI
      
      struct PageView : View {
          @Namespace private var pageNamespace
          var paragraphs: [String
          var pageNumber: Int
      
          var body: some View {
              Text(paragraphs[0])
                  .textSelection(.enabled)
                  .accessibilityLinkedGroup(id: pageNumber, in: pageNamespace)
      
              Text(paragraphs[1])
                  .textSelection(.enabled)
                  .accessibilityLinkedGroup(id: pageNumber, in: pageNamespace)
          }
      }
    • 9:50 - Turn pages automatically after reading

      // Turn pages automatically after reading
      
      import UIKit
      
      class TravelGuidePageController: UIViewController {
      
          override func viewDidLoad() {
              super.viewDidLoad()
              self.lastParagraphView.accessibilityTraits.insert(.causesPageTurn)
          }
      
          override func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool {
              moveToPage(direction)
              var scrollString = "Page \(currentPage) of \(pages.count)"
              UIAccessibility.post(notification: .pageScrolled, argument: scrollString)
              return true
          }
      }
    • 11:45 - Add actions to the editor rotor

      // Add actions to the editor rotor
      
      import UIKit
      
      class TravelGuideParagraph: UITextView {
      
          override var accessibilityCustomActions: [UIAccessibilityCustomAction]? {
              get {
                  let saveAction = UIAccessibilityCustomAction(name: "Save Recommendation") { _ in
                      self.saveRecommendation()
                  }
                  saveAction.category = UIAccessibilityCustomAction.editCategory
                  return (super.accessibilityCustomActions ?? []) + [saveAction]
              }
              set { }
          }
      
          private func saveRecommendation() -> Bool {
              ...
              return true
          }
      }
    • 16:10 - Adopt UITextInput

      // Adopt UITextInput
      
      import UIKit
      
      class ScannedPage: UIView, UITextInput {
      
          override init(frame: CGRect) {
              super.init(frame: frame)
              let interaction = UITextInteraction(for: .nonEditable)
              interaction.textInput = self
              addInteraction(interaction)
          }
         
          func selectionRects(for range: UITextRange) -> [UITextSelectionRect] {
              var rects: [UITextSelectionRect] = []
      
              let startLine = lineIndex(for: range.start)
              let endLine = lineIndex(for: range.end)
      
              for line in startLine...endLine {
                  let rect = selectionRectFromImage(for: range, in: line)
                  rects.append(rect)
              }
      
              return rects
          }
        
          func text(in range: UITextRange) -> String? {
              let nsRange = nsRange(from: range)
              guard let range = Range(nsRange, in: scannedText) else {
                  return nil
              }
              return String(scannedText[range])
          }
      
          var tokenizer: any UITextInputTokenizer { CustomHandwritingTokenizer(textInput: self) }
      
          weak var inputDelegate: UITextInputDelegate?
        
            var selectedTextRange: UITextRange? {
              // Update visuals when assistive technologies change selection
              willSet { inputDelegate?.selectionWillChange(self) }
              didSet { inputDelegate?.selectionDidChange(self) }
          }
        
      }
    • 0:01 - Introduction
    • What makes reading apps an accessibility challenge distinct from UI navigation, and what the session covers — the characteristics of a great reading experience, extending UIKit and SwiftUI text views, and making custom text accessible.

    • 1:26 - Characteristics
    • Reading apps present unique accessibility challenges distinct from standard UI navigation, requiring fluid movement through text for technologies like VoiceOver and Speak Screen. This session covers three goals — granular navigation, continuous reading, and text selection — using UIKit, SwiftUI, and AppKit APIs.

    • 3:45 - Standard views
    • UITextView, SwiftUI's TextEditor and selectable Text, and NSTextView on macOS all adopt UITextInput automatically, providing line, word, and character navigation and accessible text selection. The accessibilityNextTextNavigationElement and accessibilityPreviousTextNavigationElement APIs (and the new accessibilityLinkedGroup for SwiftUI) connect separate text elements so VoiceOver can move between them seamlessly, while the causesPageTurn trait provides page turning automatically during read-all gestures.

    • 14:05 - Custom text
    • When using custom or custom-rendered text — such as scanned images — adopting the full UITextInput protocol gives VoiceOver and Speak Screen the same granular navigation and selection capabilities as native text views. This requires implementing text geometry methods like selectionRects(for:), a tokenizer, and text range methods, and can be paired with UITextInteraction for visible selection handles.

Developer Footer

  • 비디오
  • WWDC26
  • 읽기 앱의 접근성 향상하기
  • 메뉴 열기 메뉴 닫기
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    메뉴 열기 메뉴 닫기
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    메뉴 열기 메뉴 닫기
    • 손쉬운 사용
    • 액세서리
    • Apple Intelligence
    • 앱 확장 프로그램
    • App Store
    • 오디오 및 비디오(영문)
    • 증강 현실
    • 디자인
    • 배포
    • 교육
    • 서체(영문)
    • 게임
    • 건강 및 피트니스
    • 앱 내 구입
    • 현지화
    • 지도 및 위치
    • 머신 러닝 및 AI
    • 오픈 소스(영문)
    • 보안
    • Safari 및 웹(영문)
    메뉴 열기 메뉴 닫기
    • 문서(영문)
    • 튜토리얼
    • 다운로드
    • 포럼(영문)
    • 비디오
    메뉴 열기 메뉴 닫기
    • 지원 문서
    • 문의하기
    • 버그 보고
    • 시스템 상태(영문)
    메뉴 열기 메뉴 닫기
    • Apple Developer
    • App Store Connect
    • 인증서, 식별자 및 프로파일(영문)
    • 피드백 지원
    메뉴 열기 메뉴 닫기
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program(영문)
    • Mini Apps Partner Program
    • News Partner Program(영문)
    • Video Partner Program(영문)
    • Security Bounty Program(영문)
    • Security Research Device Program(영문)
    메뉴 열기 메뉴 닫기
    • Apple과의 만남
    • Apple Developer Center
    • App Store 어워드(영문)
    • Apple 디자인 어워드
    • Apple Developer Academy(영문)
    • WWDC
    최신 뉴스 읽기.
    Apple Developer 앱 받기.
    Copyright © 2026 Apple Inc. 모든 권리 보유.
    약관 개인정보 처리방침 계약 및 지침