# SiSkipLinkTargetDirective documentation

**Kind:** directive

**Selector:** `[siSkipLinkTarget]`

```
import { SiSkipLinkTargetDirective } from '@siemens/element-ng/skip-links';
```

Directive to mark an element as a target for a skip link. Focuses the target if it is focusable, otherwise its first usable tabbable descendant. Add tabindex="-1" to a non-interactive element to focus the target itself.

```
directive SiSkipLinkTargetDirective implements OnInit, OnDestroy
```

#### Input Properties

| Name | Type | Description |
| --- | --- | --- |
| [siSkipLinkTarget](<https://github.com/siemens/element/blob/main/projects/element-ng/skip-links/si-skip-link-target.directive.ts#L23-L23>) (required) | `TranslatableString` | The name of the skip link target which will be shown in the skip link. |

#### Attributes and Methods

##### jumpToThisTarget

[Source for jumpToThisTarget](<https://github.com/siemens/element/blob/main/projects/element-ng/skip-links/si-skip-link-target.directive.ts#L40-L58>)

Activate a skip link target by scrolling it into view and focusing it or its first tabbable descendant.

```
jumpToThisTarget(): void
```

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

### Types Documentation

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

Represents a translatable string. This can either be a translation key, e.g. `ACTIONS.EDIT` that will be automatically translated when displayed on the UI or a pre-translated string, e.g. `Edit`. Equivalent to a normal string in usage and functionality.

```
type TranslatableString = string & Translatable
```
