diff --git a/src/fields/data/LinkData.php b/src/fields/data/LinkData.php index 2ed7d5dca75..b42c8b0edf9 100644 --- a/src/fields/data/LinkData.php +++ b/src/fields/data/LinkData.php @@ -163,7 +163,9 @@ public function getLink(): Markup 'class' => $this->class, 'id' => $this->id, 'rel' => $this->rel, - 'ariaLabel' => $this->ariaLabel, + 'aria' => [ + 'label' => $this->ariaLabel, + ], ]); }