Options
All
  • Public
  • Public/Protected
  • All
Menu

Localized accessibility text for image crop controls.

Hierarchy

  • CropAccessibilityLabels

Index

Properties

Optional handleLabel

handleLabel: (direction: "nw" | "se") => string

Type declaration

    • (direction: "nw" | "se"): string
    • Optional accessible crop corner label. Direction is top left (nw) or bottom right (se). Falls back to "Top left" or "Bottom right" when omitted or empty.

      Parameters

      • direction: "nw" | "se"

      Returns string

Optional instructions

instructions: string

Optional localized keyboard cropping instructions. No instructions are added when omitted or empty. Arrow keys move one pixel in screen directions; Tab visits top left, bottom right, then the whole image. Enter applies the crop and Escape cancels it.

Optional moveCropLabel

moveCropLabel: string

Optional accessible label for the whole-image focus target that moves the crop viewport. Falls back to "Move Crop" when omitted or empty.

Generated using TypeDoc