283.2. accessibility-inspector-26.08.2
Accessibility inspector — browse the AT-SPI tree a program shows to screen readers
26.08.2-1 · (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND LGPL-2.0-or-later AND LGPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 · 0.6 SBU · 594.7 KiB, 15 files · 44_apps, 45 of 422 · ports/core/devtools/accessibility-inspector
Homepage: https://apps.kde.org/accessibilityinspector/
Accessibility Inspector browses the AT-SPI accessibility tree of every running program: each object’s role, name, description, states and actions, and the events it emits. It shows what a screen reader such as Orca is told about a window, which makes it the tool for checking a program’s accessibility.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, ki18n, kxmlgui, libqaccessibilityclient, at-spi2-core.
Required by (1): kde-gear-devtools.
Sources: accessibility-inspector-26.08.2.tar.xz (97.5 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install accessibility-inspector'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D BUILD_TESTING=OFF \
-D KF_SKIP_PO_PROCESSING=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations inpo/, which kpkg’s English-only rule would remove from the package anyway (see Size and language policy).-Wno-dev— Silences CMake’s warnings meant for the project’s own developers.
Programs: accessibilityinspector.
Libraries: libaccessibilityinspector.so.
Directories: /usr/share/licenses/accessibility-inspector.
The inspector reads the accessibility tree through libqaccessibilityclient, which its CMake configuration looks for as QAccessibilityClient6 0.6.0 or later. That library talks to the accessibility bus that at-spi2-core runs, so the inspector shows nothing until that bus is up and a program has registered on it.
The program installs a private shared library, libaccessibilityinspector, with the window it draws.