Connect the virtual accessibility tree to EmacsView so VoiceOver can
discover and navigate Emacs content.
* etc/NEWS: Add VoiceOver documentation block.
* src/nsterm.h: Declare rebuildAccessibilityTree,
invalidateAccessibilityTree, postAccessibilityUpdates.
* src/nsterm.m (NS_AX_MAX_COMPLETION_CHARS): New macro.
(ns_ax_post_notification): New static inline function.
(ns_update_accessibility_state): New EmacsApp method.
(ns_accessibility_did_change:): New handler.
(ns_ax_collect_windows): New static function; initialize
cachedBuffer to NULL so the buffer-switch branch fires on the first
notification cycle.
(rebuildAccessibilityTree): New EmacsView method.
(invalidateAccessibilityTree): New EmacsView method.
(postAccessibilityUpdates): New EmacsView method; post
SelectedTextChanged alongside FocusedUIElementChanged after tree
rebuild so VoiceOver learns the cursor position immediately.
(ns_update_end): Call postAccessibilityUpdates.
(applicationDidFinishLaunching:): Register AT observer.
(dealloc): Release accessibility elements.
(windowDidBecomeKey): Post VoiceOver focus notification.
(initFrameFromEmacs:): Initialize accessibility ivars.
* test/src/nsterm-accessibility-tests.el: New file.
This directory contains the architecture-independent files used by or
with Emacs. This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.
COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES
File: emacs.icon
Author: Sun Microsystems, Inc
Copyright (C) 1999, 2001-2026 Free Software Foundation, Inc.
License: GNU General Public License version 3 or later (see COPYING)