> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Element Alt Text

> Set or update alternative text for slide elements to enable identification in workflows

The **Update Element Alt Text** node sets or updates the alternative text (alt text) of elements in Google Slides presentations. Alt text serves as a unique identifier that other operations can use to target specific elements. This is an **AI-powered node** that can understand natural language instructions.

***

## When to Use It

* Label elements for identification in other operations
* Set up elements for targeted updates and modifications
* Organize presentation elements with meaningful names
* Enable dynamic workflows that target specific elements
* Improve accessibility of presentations
* Create reusable presentation templates

***

## Inputs

| Field            | Type | Required | Description                                |
| ---------------- | ---- | -------- | ------------------------------------------ |
| **Presentation** | Text | Yes      | Google Slides presentation URL or ID       |
| **Element ID**   | Text | Yes      | Unique identifier of the element to update |
| **Alt Text**     | Text | Yes      | New alternative text for the element       |

### Finding Element IDs

Use these operations to find element IDs:

* **Get Slide**: Retrieve elements from a specific slide
* **List Elements**: Get all elements across the presentation

### Alt Text Best Practices

**Use descriptive names:**

* `revenue_chart` for revenue charts
* `company_logo` for logo images
* `summary_text` for summary text boxes
* `kpi_table` for KPI tables

**Consistent naming:**

* Use underscores instead of spaces
* Keep names short but descriptive
* Use consistent prefixes (e.g., `chart_`, `text_`, `image_`)

***

## Output

Returns confirmation of alt text update:

```json theme={"dark"}
{
  "element_id": "ELEMENT_789GHI012JKL",
  "old_alt_text": "Text Box 1",
  "new_alt_text": "revenue_summary",
  "slide_id": "SLIDE_123ABC456DEF",
  "element_type": "TEXT_BOX",
  "update_successful": true
}
```

### Output Fields:

| Field                  | Description                                     |
| ---------------------- | ----------------------------------------------- |
| **element\_id**        | Unique identifier of the updated element        |
| **old\_alt\_text**     | Previous alt text value                         |
| **new\_alt\_text**     | New alt text value that was set                 |
| **slide\_id**          | Slide containing the element                    |
| **element\_type**      | Type of element (TEXT\_BOX, IMAGE, TABLE, etc.) |
| **update\_successful** | Whether the update was completed                |

***

## Credit Cost

* **Cost per run**: 1 credit

***

## Common Workflows

**Element Setup for Dynamic Updates:**

```
[List Elements] → [Update Element Alt Text: "revenue_chart"] → [Replace Text using Alt Text]
```

**Presentation Template Creation:**

```
[Create Presentation] → [Add Elements] → [Update Alt Text for Each] → [Save as Template]
```

**Batch Element Labeling:**

```
[Get Slide] → [Update Alt Text: Element 1] → [Update Alt Text: Element 2] → [Continue...]
```

***

## Tips

**Alt Text Strategy:**

* **Set alt text immediately** after creating elements
* **Use meaningful names** that describe the element's purpose
* **Follow naming conventions** for consistency across presentations
* **Document your naming scheme** for team workflows

**Workflow Integration:**

* **Always set alt text** for elements you'll modify later
* **Use descriptive names** that make sense in your workflow context
* **Check existing alt text** with Get Slide or List Elements first
* **Update alt text** when repurposing elements for different content
