Skip to content

iOS and Android: an app built on Rune can pass an independent WCAG 2.1 A and AA audit #110

Open

Description

@SuperManfred

Public-facing services in regulated sectors have to be tested against WCAG 2.1 A and AA, and to show continuous support across devices and platforms. We want to build those services on Rune, including their phone apps.

Ask: accessibility is part of done for the iOS and Android shells, not a later pass. An app built on Rune and Rune Kit can pass an independent WCAG 2.1 A and AA audit on both, with no criterion failing because of Rune.

Today (781e2b6, from reading the code)

  • crate::a11y has macOS, Windows and Unix backends, and none for iOS or Android.
  • platform/ has no iOS or Android shell. PLAN.md puts iOS at M6, with UITextInput and RuneView.

Requirements

Criterion Level Rune or Kit must
1.1.1, 1.3.1, 1.3.2 A Expose names, headings, labels, groups, tables and states to VoiceOver and TalkBack, in reading order
1.4.1 A Never signal errors or links by colour alone (Kit)
2.1.1, 2.1.2 A Make every control work with an external keyboard and screen-reader gestures, with no trap
2.2.1 A Set no time limit a person can't adjust (Kit)
2.4.3 A Keep focus order logical
2.5.1, 2.5.2, 2.5.3 A Offer single-pointer alternatives to gestures; fire a press on release; include the visible text in the name
3.2.1, 3.2.2 A Change no context on focus or input alone
3.3.1, 3.3.2 A Tie errors and labels to their field and expose them
4.1.2 A Expose name, role, value and state for every control
1.3.4 AA Lock no orientation
1.3.5 AA Let fields declare input purpose, so system autofill and password managers work
1.4.3, 1.4.11 AA Kit defaults reach 4.5:1 for text and 3:1 for control edges and focus; themes can be audited
1.4.4, 1.4.10, 1.4.12 AA Follow the system text size at 200%, on a small phone in portrait, with nothing lost
2.4.7 AA Keep focus visible with an external keyboard
3.1.2 AA Let language be set per element
4.1.3 AA Announce status and error changes without moving focus

Also:

  • One tree: iOS and Android expose the same accessibility tree as other platforms.
  • Text input: dictation, autocorrect, IME, selection and secure entry work through the native protocols.
  • Continuity of support: publish the supported OS versions and devices.
  • Checks: repeatable checks in the repo for every row a machine can test, in the verification list, plus a list of what needs a person.

Out of scope

Conformance claims, human audits and app content. App-owned criteria must not be blocked by Rune.

Activity

  1. opencodejr commented on Nov 25, 2026

    @opencodejr
    Contributor

    Thanks for laying this out criterion by criterion. It makes the request easy to check against the code.

    What I found on current dev (570cac5), which matches your "Today" section:

    • crates/rune/src/a11y/mod.rs builds AccessKit adapters only for macOS, Windows and Linux. The accessibility feature in crates/rune/Cargo.toml pulls in accesskit_windows, accesskit_macos and accesskit_unix, and nothing for iOS or Android.
    • crates/rune/src/platform/ has no ios/ or android/ shell. PLAN.md §10 puts iOS at M6 and Android at M7. Its risk list says AccessKit's iOS and Android adapters are young.
    • The first iOS shell slice is being discussed in iOS: an app starts with rune::run and draws in a RuneView (first slice of M6) #803 and isn't on dev yet. It already lists "VoiceOver from the accessibility tree" as a follow-up that points here.

    Related: #109 (web) and #111 (desktop) ask for the same thing on the other platforms. Neither is a duplicate of this one.

    I'm taking this as a feature request. Most rows depend on a mobile shell existing first: VoiceOver/TalkBack exposure, native text input, orientation, system text size. Some don't, such as Kit's colour and contrast defaults, input-purpose metadata, per-element language, and checks that run against the shared tree. Those could move ahead on their own, and they would also help #109 and #111. When and in what order the iOS and Android work lands is up to the maintainers.

  2. opencodejr commented on Nov 25, 2026

    @opencodejr
    Contributor

    I looked at starting on this but haven't made a change.

    • The iOS and Android shells come first. VoiceOver and TalkBack exposure, native text input (UITextInput, InputConnection), orientation and system text size all need a running mobile host. crates/rune/src/platform/ has no ios/ or android/ shell on dev yet. The first iOS slice is in iOS: an app starts with rune::run and draws in a RuneView (first slice of M6) #803, and Android is only a milestone line (M7) in PLAN.md.
    • It couldn't be checked here. The environment I work in has no Rust toolchain, iOS SDK or Android NDK, so I couldn't build or run anything for these targets. I won't put untested platform code on dev, which apps pin.

    This would be easier to move forward as smaller issues, one per piece. Some pieces don't need a mobile shell and would also help #109 and #111:

    1. Kit contrast defaults: 4.5:1 for text, 3:1 for control edges and focus rings, plus a theme contrast check that runs in the repo (1.4.3, 1.4.11).
    2. An input-purpose field on text fields in the accessibility tree, for autofill and password managers (1.3.5).
    3. Language set per element in the tree (3.1.2).
    4. A checklist doc that maps each WCAG row to an automated test or to a step a person has to do.

    The mobile adapters themselves fit as follow-ups to #803 once a shell lands. When and in what order that happens is up to the maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions