From 6cb9220c82fc22a4a32424b3f571ea97d050ccb8 Mon Sep 17 00:00:00 2001 From: Michael Brevard Date: Sat, 3 Feb 2024 13:24:18 +0200 Subject: [PATCH] fix: provide a label for accessbility (#591) --- packages/devtools/client/components/IframeView.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/devtools/client/components/IframeView.vue b/packages/devtools/client/components/IframeView.vue index 5f9d3d15a..6ca886ada 100644 --- a/packages/devtools/client/components/IframeView.vue +++ b/packages/devtools/client/components/IframeView.vue @@ -28,6 +28,7 @@ onMounted(() => { else { iframeEl.value = document.createElement('iframe') iframeEl.value.setAttribute('allow', allowedPermissions.join('; ')) + iframeEl.value.setAttribute('aria-label','Nuxt Devtools') if (isPersistent) iframeCacheMap.set(key.value, iframeEl.value)