Screen Reader for uGUI 1.0.0 · changelog

Screen Reader for uGUI changelog

All notable changes to this package are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.0] - 2026-10-21

Added

  • AccessibleCanvas (Add Component > luanrobs > Accessible Canvas): a scope that builds Unity's AccessibilityHierarchy from the uGUI controls under it and keeps it in sync. Options: reading order (Layout or Hierarchy), right-to-left rows, row tolerance, Modal, scope order, sync selection, follow selection, infer nearby labels, hide transparent, announce on enable and update interval. Scopes can be nested.
  • Automatic mapping of Button, Toggle, Slider, Scrollbar, Dropdown, TMP_Dropdown, InputField, TMP_InputField, Text, TMP_Text, ScrollRect, other Selectables and Images that have a label, with roles, labels, values, states and actions derived from the components. Slider, scrollbar, dropdown and input field without a label of their own take the text read just before them (in a form with captions above the fields, the caption of their own column), or the input field's placeholder.
  • AccessibleElement (Add Component > luanrobs > Accessible Element): overrides for exposure (Default, Hidden, Group, Container), role, label, label source, hint, value, reading order, increment step and extra actions, with OnActivate, OnIncrement, OnDecrement, OnDismiss and OnFocusChanged events and LabelProvider, ValueProvider and HintProvider delegates (NotifyChanged() after a provider's result changes).
  • Screen frames for Screen Space Overlay, Screen Space Camera and World Space canvases, in pixels with a top-left origin. Frames of items inside a scroll view are clipped to the viewport; an item scrolled out of view keeps a one-pixel frame on the viewport edge so the reader can still move to it.
  • Reading order by screen position in rows (or by hierarchy), re-checked after layout so a layout group that places its children late reorders the nodes on the next update. A screen that does not change is not scanned again.
  • Hidden UI stays hidden: a GameObject under a disabled Canvas component, inactive, or under a fully transparent CanvasGroup (with Hide Transparent) is not exposed, and a control hidden since the last update refuses every action.
  • Focus synced with the EventSystem: reader focus selects the control and scrolls it into view; FollowSelection moves the reader to a control selected by keyboard or gamepad. Input fields are not selected by reader focus, so the on-screen keyboard does not open on every swipe.
  • Actions mapped back to the controls: activate, increment, decrement, scroll by page (Unity 6000.3) and dismiss. A disabled control keeps its actions in the description and refuses them.
  • Modal scopes: while a scope with Modal is enabled and shown, every node outside it is hidden from the reader. An open dropdown list is a modal list with the options as toggles; inside a modal dialog, closing it returns the reader to the dropdown, and a newer modal dialog is read over a list behind it. A scope whose root AccessibleElement declares Dismiss answers Dismiss on every node of the scope, except while a CanvasGroup locks it.
  • UguiScreenReader: Activation (Automatic, AlwaysOn, Off), status properties, Announce, NotifyScreenChanged, NotifyLayoutChanged, Refresh, node and GameObject lookup, the events ScreenReaderStatusChanged, HierarchyChanged, FocusChanged and AnnouncementSent, and AccessibilityStrings for the texts the package adds (percent, password length, page, hints, toggle values).
  • AccessibilitySnapshot: the hierarchy as text or JSON with a Compare method for expected-output tests. ScreenReaderSimulator: focus, next and previous, activate, increment, decrement, scroll and dismiss, for tests without a screen reader.
  • ScreenReaderDebugOverlay: draws the frame and label of every node on screen.
  • Editor: inspectors with a live preview of what the reader gets, a validator window (missing label, duplicate label, zero size, canvas without an Accessible Canvas, label source that is not a text, action without a handler, element outside a Canvas, increment or decrement on a non-slider), and the menu items Validator, Make Canvases Accessible, Add Accessible Element to Selection, Open Unity Accessibility Hierarchy Viewer and Documentation under Tools > luanrobs > Screen Reader for uGUI.
  • Announcement of a scope when it appears, and a layout-changed notification when the structure changes.
  • Idle updates allocate no managed memory, and neither does scrolling a 100-row list of Unity Text or of TextMeshPro rows (PlayMode tests with an allocation check). An update with no change writes no node field.
  • Support for Unity 6000.0 and 6000.3 in one package: the differences in Unity's Accessibility module (roles, the Expanded state, the scroll action, the activation event) are handled in one internal file. Before 6000.3, text fields and dropdowns get a hint instead of a role and there is no scroll gesture from the reader.
  • Static state is reset at the start of every Play session, for Play mode with Domain Reload disabled.
  • Demo sample with five scenes: a menu, a settings screen, a 100-row list, a sign-in form with a modal dialog, and a screen mixing Unity Text and TextMeshPro.
  • Manual, EditMode and PlayMode tests.

Known limits

  • In a player, Unity accepts the published hierarchy only while the OS screen reader is on. With Activation = AlwaysOn and no reader the package builds the hierarchy (snapshots, simulator and overlay work) and publishes it when the reader turns on. The package does not retry the publish at every update (at most once a second while the reader is on).
  • Unity's Accessibility module supports Windows Narrator and macOS VoiceOver from 6000.3 only; on 6000.0 nothing is published on Windows and macOS.
  • No live regions: a text that changes is not announced.
  • UI Toolkit is not covered.

Tested

  • Unity 6000.3.12f1 on Windows 11, 2026-10-21: 284 of 284 EditMode tests and 67 of 67 PlayMode tests passed.
  • Unity 6000.0.84f1 on Windows 11, 2026-10-21: 281 of 281 EditMode tests passed; PlayMode 65 passed, 1 skipped, 0 failed.
  • Windows players, 2026-10-21: a smoke driver walked the five demo scenes through the simulator and passed on Mono 6000.0.84f1 (nothing published, as Unity does not support Windows there), on Mono 6000.3.12f1 and on IL2CPP 6000.3.12f1. On both 6000.3 players a Windows UI Automation check passed. Narrator was not run.
  • Android emulator (x86_64, Android 36), 2026-10-21: the smoke passed with TalkBack on 6000.3.12f1 and 6000.0.84f1, and without TalkBack on 6000.3.12f1 (an earlier run of the same day). TalkBack speech and gestures were not tested, and that the nodes reach Android's accessibility tree was not observed with uiautomator.
  • Clean projects from the .tgz archive, 2026-10-21, on 6000.3.12f1 and 6000.0.84f1: Demo sample imported, EditMode and PlayMode tests, Windows Mono player smoke with no missing script, and three Play sessions with Domain Reload disabled: passed.
  • Idle update of the 100-row list, 2026-10-21: 0.63 to 1.12 ms in Windows players, 1.24 to 1.50 ms on the x86_64 Android emulator, 1.96 to 2.66 ms in the Editor (details in the manual's Performance section).
  • iOS and macOS: supported by Unity's API, not tested.