GhostDialogTitle reference
Package: @ghostvue/vue. Status: experimental (stability policy).
Accessible heading for GhostDialogContent. Registers its id on context so Content links via aria-labelledby automatically.
Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
as | GhostDialogTitleElement | "h2" | No | Tag name or component rendered for the dialog heading. |
Emits
None declared.
Models
None declared.
Slots
| Name | Description |
|---|---|
default | Heading text. |
Slot props: default
None declared.
Exposed members
| Name | Type | Description |
|---|---|---|
blur | () => void | Blurs the resolved heading element. |
element | HTMLElement | null | Resolved heading element after mount; null before mount and after unmount. |
focus | (options?: FocusOptions) => void | Focuses the resolved heading element. |
Parts and data attributes
| Attribute | Value | Description |
|---|---|---|
data-part | title | Heading element marked with data-part="title". |
CSS variables
None declared.
Accessibility
Role: heading. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/.
Required ARIA attributes: none.
Keyboard
None declared.
Verification
Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.
| Category | Status | Evidence |
|---|---|---|
| Automated keyboard | Not reviewed | No declared key is mapped to a browser test yet. |
| Manual interaction | Not reviewed | No review recorded. |
| Assistive technology | Not reviewed | No review recorded. |
Examples
None declared.