AccessKit / AccessKit/accesskit

Cannot get Orca to work with the SDL example

Open
#328 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.5k
Forks
114
Avg merge
8h 25m
Merged PRs (30d)
28

Description

All I see is

This example has no visible GUI, and a keyboard interface:
- [Tab] switches focus between two logical buttons.
- [Space] 'presses' the button, adding static text in a live region announcing that it was pressed.
Enable Orca with [Super]+[Alt]+[S].

Orca is turned on, but it won't read anything from this window. Does anyone else have this issue? I'm using accesskit_c v0.6.2. I also tried compiling accesskit from source, which worked after modifying Cargo.toml to not use winit but unix instead. I couldn't build the C bindings though. It requires rustup for some reason, but I want to stick with my distro's toolchain. I just used the header from 0.6.2.
The way I compiled the SDL example is as follows:

gcc -laccesskit -lSDL2 -I/usr/include/SDL2 hello_world.c

CMake again refuses to compile it correctly because it cannot find accesskit despite it being on my system, hence the manual gcc invocation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with hello_world.c and the SDL example entry point, then inspect Cargo.toml and the CMake configuration around accesskit and its C bindings. Reproduce the reported accesskit_c v0.6.2 setup with Orca and the distro toolchain; done means the example builds and Orca reads its live-region output.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cmake, rust
Domain
accessibility, desktop-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.