AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface ViewTabAccessibilityOptions

    Accessibility options for view tab navigation.

    interface ViewTabAccessibilityOptions {
        announceTabChanges?: boolean;
        ariaLabels?: AriaLabelOptions;
        arrowNavigation?: ViewTabElements[];
        enableDeleteKeyClose?: boolean;
        enableHomeEndNavigation?: boolean;
        focusOnCloseStrategy?: "active" | "next" | "previous";
        tabNavigation?: (
            | "active-tab"
            | "inactive-tab"
            | "active-tab-close-button"
            | "inactive-tab-close-button"
            | "add-tab-button"
        )[];
    }
    Index
    announceTabChanges?: boolean

    Whether to announce tab changes via aria-live.

    true
    
    ariaLabels?: AriaLabelOptions

    Custom aria-label providers. Can be a static string or a function receiving context.

    arrowNavigation?: ViewTabElements[]

    Controls which elements are navigable via Arrow keys.

    ['inactive-tab', 'active-tab', 'active-tab-close-button', 'inactive-tab-close-button', 'add-tab-button', 'active-tab-custom-control', 'inactive-tab-custom-control']
    
    enableDeleteKeyClose?: boolean

    Whether Delete/Backspace keys close the focused tab.

    false
    
    enableHomeEndNavigation?: boolean

    Whether Home/End keys jump to first/last navigable element.

    false
    
    focusOnCloseStrategy?: "active" | "next" | "previous"

    Focus behavior when a tab is closed via keyboard.

    'next'
    
    tabNavigation?: (
        | "active-tab"
        | "inactive-tab"
        | "active-tab-close-button"
        | "inactive-tab-close-button"
        | "add-tab-button"
    )[]

    Controls which elements are reachable via Tab key navigation. Uses roving tabindex pattern - only one element focusable at a time.

    ['active-tab', 'add-tab-button']