CIA Compliance Manager — API Documentation - v1.1.50
    Preparing search index...

    Function getButtonAriaProps

    • Generate ARIA props for a button

      Parameters

      • label: string

        Button label

      • Optionaloptions: {
            isPressed?: boolean;
            isExpanded?: boolean;
            controls?: string;
            describedBy?: string;
        }

      Returns {
          "aria-label": string;
          "aria-pressed"?: boolean;
          "aria-expanded"?: boolean;
          "aria-controls"?: string;
          "aria-describedby"?: string;
      }

      ARIA props object