Skip to content

GhostDialogDescription reference ​

Package: @ghostvue/vue. Status: experimental (stability policy).

Accessible description for GhostDialogContent. Registers its id on context so Content links via aria-describedby automatically.

Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.

All component references

Props ​

NameTypeDefaultRequiredDescription
asGhostDialogDescriptionElement"p"NoTag name or component rendered for the dialog description.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultSupporting dialog description text.

Slot props: default ​

None declared.

Exposed members ​

NameTypeDescription
blur() => voidBlurs the resolved description element.
elementHTMLElement | nullResolved description element after mount; null before mount and after unmount.
focus(options?: FocusOptions) => voidFocuses the resolved description element.

Parts and data attributes ​

AttributeValueDescription
data-partdescriptionDescription element marked with data-part="description".

CSS variables ​

None declared.

Accessibility ​

Role: generic. 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.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

None declared.