screenreader

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package screenreader works with VoiceOver and TalkBack: whether one is on, and saying something that changed on its own.

nimbus native plugin add screen-reader

on, err := screenreader.Enabled(ctx)
screenreader.Announce(ctx, "Order placed")

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Announce

func Announce(ctx context.Context, text string) error

Announce has the screen reader say text, if one is on.

func Enabled

func Enabled(ctx context.Context) (bool, error)

Enabled reports whether a screen reader is on.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL