Creates an instance of AnnounceTitleCommand.
The application context.
The text view model.
The audio service.
The text service for mode-aware formatting.
The display service for scope management.
Protected ReadonlycontextProtected ReadonlytextProtected ReadonlyaudioProtected ReadonlytextProtected ReadonlydisplayProtectedrestoreRestores the scope to the previous scope before entering label mode. Uses DisplayService to properly manage the focus stack and restore the correct scope (TRACE, BRAILLE, etc.) regardless of which scope was active before entering label mode.
Only exits when a label scope is actually active. These announce commands are also bound outside label mode (e.g. 't' at subplot/figure level); exiting unconditionally would flip navigation into TRACE scope via the stale focus stack and break subplot activation.
Executes the command to display the title sourced from the MAIDR JSON.
Only announces titles authored in the JSON; the model's placeholder defaults are treated as "no title". Announces "No title available" when nothing was authored at either level.
Command to describe the title of the figure or subplot.