Skip to content
QuireKit
Plugin docs
Alpha · evolving API
Collaboration and accessibilityView Markdown ↗

Accessibility

Provides bounded input context and segmented reading on a mounted view. Localize labels and supply semantics for custom blocks.

Provides bounded input context and segmented reading on a mounted view. Localize labels and supply semantics for custom blocks.

@quirekit/accessibility · AGPL-3.0-only

Editor compatibility

Layer:Shared document capability

EditorStatusAssembly and boundaries
ClassicRequires integrationConnect the services, targets and lifecycle described on this page and validate the selected View and document model. Core contracts are reusable, but there is no universal product installation without host ports.
BlockRequires integrationConnect the services, targets and lifecycle described on this page and validate the selected View and document model. Core contracts are reusable, but there is no universal product installation without host ports.

“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See status and integration rules. Licensing is shown separately.

Installation

sh

Install in Editor extensions. The host supplies a view, container and persistence; see Quick start.

ts

Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see support and licensing.

Integration by editor

These snippets use an existing host element named element. The host owns container sizing and persistence; call instance.destroy() on teardown. Avoid duplicating preset capabilities and supply required host ports before installation.

Classic · Requires integration

Connect the services, targets and lifecycle described on this page and validate the selected View and document model. Core contracts are reusable, but there is no universal product installation without host ports.

Configuration

These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See configuration.

enabled

Initial enabled state; installation is always explicit.

Type:boolean

Default:true

textBudget

Maximum UTF-16 units in the active paragraph context.

Type:number

Default:2048

readingBudget

Maximum UTF-16 units in one explicit reading segment.

Type:number

Default:8192

readingBlocks

Maximum leaf items in one segment; structural traversal also has a depth and step bound.

Type:number

Default:40

labels

Localizable UI and announcements.

Type:QuireAccessibilityLabels

Default:See default below

ts

describeBlock

Describe custom blocks for accessible reading when the block has no built-in semantic contribution.

Type:(node: Node): QuireAccessibleBlockDescription | null

Default:(node) => node.isTextblock ? { kind: "paragraph" } : null

Commands and runtime

This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.

Next steps

Return to all plugins, or read configuration to distinguish options, attributes and commands.

See extension development for custom capabilities and Build a product for complete hosting.

QuireKitQuireKit · Core, plugins and Classic docs