Interface AccordionTranslations

Messages used by the component for the labels of its buttons. This includes the visible text shown on screen, and text to help assistive technology users for the buttons toggling each section.

interface AccordionTranslations {
    hideAllSections: string;
    hideSection: string;
    hideSectionAriaLabel: string;
    showAllSections: string;
    showSection: string;
    showSectionAriaLabel: string;
}

Properties

hideAllSections: string

The text content for the 'Hide all sections' button, used when at least one section is expanded.

hideSection: string

The text content for the 'Hide' button, used when a section is expanded.

hideSectionAriaLabel: string

The text content appended to the 'Hide' button's accessible name when a section is expanded.

showAllSections: string

The text content for the 'Show all sections' button, used when all sections are collapsed.

showSection: string

The text content for the 'Show' button, used when a section is collapsed.

showSectionAriaLabel: string

The text content appended to the 'Show' button's accessible name when a section is expanded.

Generated using TypeDoc