---
description: Generate aria-{name}="{value}" HTML attribute
---

# HtmlAria Atrribute

```csharp
[Parameter][HtmlAria]public string? By { get; set; }
```

```cshtml
<Component By="label"/>

<div aria-by="label"></div>
```

