Skip to content

Repository files navigation

UI Accessibility - Modified Demo

This is a modified version of the official Godot GUI accessibility demo.

I created as a companion to my blog post comparing various game accessibility guidelines Investigating the Godot GUI accessibility demo.

The original demo demonstrates basic UI accessibility features and custom accessible nodes. This version investigates:

  • Detecting OS-level accessibility settings - high contrast, dark mode, reduced animation, reduced transparency
  • High contrast theme switching — detects and responds to Windows contrast theme settings
  • Focus navigation — an example of sequential vs directional navigation
  • Accessible headings — makes section labels discoverable to screen readers
  • TTS narration — basic text-to-speech for UI focus changes when no screen reader is running
  • Custom control narration — demonstrates narrating internal state changes via signals

Accessibility guidelines referenced

My modifications were made based a combination of these accessibility resources:

Important notes

This is proof-of-concept code written while learning Godot and exploring its accessibility APIs.

High Contrast theme

hcm_theme.tres is a rough approximation of the Windows 10 High Contrast #1 theme and is for demo purposes only.

Running the demo

Language: GDScript

Renderer: Compatibility

Open project.godot in Godot 4.6+ and run the main scene.

Original README

UI Accessibility

This is a demo of UI accessibility in Godot.

Demo shows basic UI accessibility features and making custom nodes accessible.

Language: GDScript

Renderer: Compatibility

Screenshots

Screenshot

About

Using the Godot GUI accessibility demo as a baseline to explore game accessibility guidance from Xbox, the Accessible Games Initiative and the Game Accessibility Guidelines.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages