# configuration/strings/element.strings.ts

> 6 lines of code and 2 definitions.

Tree: Bane's Lab Build Scripts
Language: typescript
Layer: product
Canonical: https://banes-lab.com/anatomy/build-scripts#file-build-scripts-configuration-strings-element-strings-ts
Source text: https://banes-lab.com/source/build-scripts/configuration/strings/element.strings.ts.txt

Listed in [configuration/strings](https://banes-lab.com/api/source/build-scripts/configuration/strings.md), after [configuration/strings/diagram.strings.ts](https://banes-lab.com/source/build-scripts/configuration/strings/diagram.strings.ts.md) and before [configuration/strings/folder.strings.ts](https://banes-lab.com/source/build-scripts/configuration/strings/folder.strings.ts.md).

## Definitions

- `namelessLink` (lexical_declaration, line 1, exported)
- `genericLink` (lexical_declaration, line 5, exported)

## Contained in

- [configuration/strings](https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-configuration-strings.md)

## Used by

- [core/validators/element.validator.ts](https://banes-lab.com/source/build-scripts/core/validators/element.validator.ts.md)

## Linked from

- [core/validators](https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-validators.md)

## Source

```typescript
export const namelessLink = function namelessLink(href: string): string {
    return `A link to ${href} has no discernible name; give it text, an aria-label, or an image with alt text.`;
};

export const genericLink = function genericLink(href: string, text: string): string {
    return `The link to ${href} reads "${text}", which names nothing out of context; make its text say where it leads.`;
};
```
