diff --git a/src/elements/Asset.php b/src/elements/Asset.php index 8ba18e878ef..e172eb3c1fe 100644 --- a/src/elements/Asset.php +++ b/src/elements/Asset.php @@ -2557,6 +2557,7 @@ public function getPreviewHtml(): string $imageButtonHtml .= Html::button(Craft::t('app', 'Preview'), [ 'id' => 'preview-btn', 'class' => ['btn', 'preview-btn'], + 'aria-label' => Craft::t('app', 'Preview'), ]); $previewBtnId = $view->namespaceInputId('preview-btn');